ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
AutoHide and MiniPager, problems with defining grid mods on VB.NET
Title:
B
I
{code}
?
On one demo you have this .Mod(o => o.ColumnsSelector().ColumnsAutohide()) new Column{Bind = "Name"}.Mod(o => o.NoAutohide()), What is this in VB.NET? It looks like binding to a Model where `model => model.FieldName` in C# would be `Function(x) x.FieldName` in VB - do we need to create values in the Model for this? Also I have noticed MiniPager being used but cannot find any resource that tells me what it does... Basically trying to make the Grids mobile compliant, and no horizontal scrollbar Thank you
Save Changes
Cancel
gchq
asked at 20 Mar 2017
Answers
B
I
{code}
?
to get a horizontal bar you need to give the grid a height `.Height(450)` there's a VB.NET demo that you can [http://aspnetawesome.com/Download/VBnetDemo download] it's something like: `.Mod(Function(o) o.PageInfo().PageSize().ColumnsSelector())` you can see the minipager here: http://demo.aspnetawesome.com/CustomPagerGridDemo#Grid-custom-pager-demo to see the autominipager you can go to [http://demo.aspnetawesome.com demo home page] and resize your browser window to make it smaller they require bootrstrap.css for the icons
Save Changes
Cancel
Omu
answered at 21 Mar 2017
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