hello – i have had much success using grid dynamically, as opposed to using:
Smart( "#grid", class { get properties() {
https://codepen.io/edwardsmarkf/pen/OJryKmB
i have determined out how to load most grid elements dynamically.
however, getting groupBy
to work dynamically is more difficult.
just using ordinary grid.groupBy = ['val'];
does not work as you can see in my example.
i see options available like grid.grouping.groupBy
,grid.groupHeader
, and grid.groupByCommand()
but i am not sure how to use any of these.
may i ask how to proceed?
(side note: i am sort of surprised there are not more examples for doing grid dynamicall since this is VERY useful!)