Skip to Content
0
Sep 21, 2020 at 09:40 AM

Set column order in a table via coding

47 Views

Dear experts,

is there a way how to set the column order in a table with javaScript?

I've got a table with 20+ columns, from which some can be taken out and replaced with different ones (according the user selection). The problem is, that when some columns are removed & replaced with different ones I can not set the correct order.

I've tried it adding all columns in the designer and order them manually, unfortunately this doesn't help. When I run the application and do some changes with the columns, the order is messed up.

Any suggestions/workarounds would be appreciated.

Cheers.