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")
    .Url(Url.Action("GridGetItems"))
    .CssClass("scrlh")
    .Mod(=> o.Main().AutoMiniPager().CustomRender("methodName"))
    .Columns( ...columns here ))
Can I use aweBeginLoad or any other method of grid to give CustomRender method by jquery?
owner
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" toggle
    at 19 Jun 2021 Omu

Answers 

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 .
contact us