Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

dataGrid - dynamically re-order columns

Avatar

Level 1
I'm trying desperately to dynamically reset the order of
columns within my dataGrid. I've been working on it for a few days
and am having no luck. If someone could give me a simple example I
could take it from there. A simple example of a dataGrid that has
two columns and a button that swaps the two positions would be
extremely helpful.



Any help with this would be greatly appreciated.



Thanks in advance!
1 Reply