I have a datawindow (in grid-style) with some columns. It is possible to change the column order with drag'n drop in runtime.
Can I rearrange the column order by code (for example in a buttonclicked event) ?
To move the columns dynamically in execution and with the mouse you have to have active in the datawindow the property "Column Moving". You can also do it by code, it is advisable a window to the user to indicate the order and accordingly encode the creation of a datawindow dynamically and then assign it to the dataobject to do the retrieve.