ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grid footer not showing X of X items count
Title:
B
I
{code}
?
I'm not sure if it's because I recently upgraded from an older version to the current version of Awesome, but grids in projects created recently don't have the item count in the footer at the right like they used to. Paging numbers are still at the left of the footer. What would cause this to not show up? Thanks Sean
Save Changes
Cancel
Sean Davidson
asked 4 days ago
check if your grid has `.Mod(o => o.Main())`, and check the browser console for errors
4 days ago
Omu
Ahh, I didn't have that in the grid. That added the function back. When using that, how can I turn off the "page size" drop-down and the elipses to add/remove columns?
4 days ago
Sean Davidson
Answers
B
I
{code}
?
`Main()` is a shortcut for adding multiple mods, call `.PageInfo().AutoMiniPager().Loading();` instead, you can also create your own extension public static class MyAweGridExtensions { public static GridModCfg<T> MyInit<T>(this GridModCfg<T> gcfg) { gcfg.AutoMiniPager(); gcfg.PageInfo(); gcfg.Loading(); return gcfg; } }
Save Changes
Cancel
Omu
answered 4 days ago
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK