I would like to inquire how Rollbase is able to render Kendo grids properly on mobile devices. On mobile devices, grids(record list) are vertically responsive.
I created a custom grid using Kendo grid on a Rollbase script component. It is rendering properly but the view does not change on mobile devices even though mobile property is enabled.
You can view a simple example I made on this link. If you run and view the code on a simulator the grid is not adjusting the way Rollbase list view does.
In Mobile devices(both tablets & smartphones) records list will be rendered as Cards by default, it is not Kendo Grid.. To render cards we use KendoMobileListView component. You can use our utility method to check device type and use different components accordingly
rb.newui.util.isMobile() - return true if current device is tablet/smartphone.
Write your script to render KendoMobileListview if above method returns true otherwise renders kendoGrid. You can refer following documentation and demo links of kendoMobileListView component
Look for ListView section from below demo link
Please let us know if you need more details.
Thanks Vimal! It all makes sense now.