Dynamic select Grid custom render using jquery
I want to give grid dynamic
CustomRender(methodName)methodName by jquery based on the screen size. Is there any way I can give it on grid load by checking screen resolution? Example:
@(Html.Awe().Grid("ExampleGrid")Can I use aweBeginLoad or any other method of grid to give CustomRender method by jquery?
.Url(Url.Action("GridGetItems"))
.CssClass("scrlh")
.Mod(o => o.Main().AutoMiniPager().CustomRender("methodName"))
.Columns( ...columns here ))
Sam Mosaic
asked
at 19 Jun 2021
-
Yes, you could even change it on window.resize, have a look at this demo: https://demo.aspnetawesome.com/GridDemo/Filtering#Grid-outside-filter-row note the "show items as" toggleat 19 Jun 2021 Omu