Closed mehdy-karimpour closed 1 year ago
Looks interesting… @caltane also asked for a similar feature a few years ago.
I think the change is to complex for an extension point that doesn’t work by itself. Things like the button to switch mode could be moved outside of SearchControlLoded.
Alternatively the feature could be included in framework, how much remaining code is necessary?
I’m not sure about the naming. Responsive means that the table can adapt to different screen sizes, is not a synonym of “mobile”.
You could group the two properties in a responsiveOptions object.
Finally, maybe there should be the possibility to configure this responsive options globally and/or in the query settings.
What is the behavior with long text columns like descriptions?
Also this responsive mode should probably disable try-no-wrap
The solution is to render some styles when we are in responsive mode. The style is based on this article https://css-tricks.com/responsive-data-tables and the calculation for columns is in our project, but if you are agree we can put it as default behavior in the Framework.