JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › grouping dynamically › Reply To: grouping dynamically
August 27, 2023 at 4:48 pm
#108633
Participant
got it:
grid.grouping.groupBy = ['productName'];
grid.grouping.enabled = true;
grid.grouping.expandMode = true;
grid.columns[2].visible = false;
not sure if this is documented anywhere, but the chrome-console helped me to find this by reverse-engineering a working grid-group example.
using grid dynamically is incredibly powerful. i hope that smart-elements starts to provide examples of dynamic-grid. i believe that others would find it exceptionally useful.
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.