Re-ordering of columns in data table




Is it possible to enable re-ordering of columns in UiPath Datatables? I often find that I want to re-use ‘Build Data Table’, but end up rebuilding the tables as I want slightly different ordering of my columns.


UiPath uses standard System.Data datatables. Reordering can be achieved bu using SetOrdinal in combination with InvokeMethod (as the method returns void).


Thank a lot! I will try this solution :slight_smile: