Columns reordering of DataViewCtrl

is possible to set order/position of columns of the DataViewCtrl widget by function call? In this case the dataViewCtrl already has all its columns defined and set as sortable. So its possible to get position of columns (by GetColumnPosition) and also change their positions by mouse, but not by function call… :frowning:

Use case:
User customizes DataViewCtrl, it means changes positions of columns and their visibility, by dialog window with Checkbox list, not by mouse drag-and-drop operation.

Maybe the wx.HeaderCtrl widget can do it by SetColumnsOrder, but is not part of DataViewCtrl or is not public :frowning:

Please advice…

Any advice? I am still stuck at this point :-/