Posted 16 July 2019, 6:32 pm EST - Updated 3 October 2022, 4:02 pm EST
Hi,
I am working on a windows application. I am showing certain columns in the grid and the user have an option to re-order the columns or remove any column. For this I have given a dialog for the user to re-order or remove any column from the list available. We had same application designed in vb6 with activeX version of the trueDBGrid control. There we just had to set the ‘grid.columns.order’ property to change the column’s desired index.
Now the problem is when designing the application in c# using winforms edition, I am able to get the index of the column using ‘grid.splits[0].displaycolumns.indexof’ property. But since the property is read only, I am not able to set the desired index. I have attached screenshots of both vb6 and .net version. Please help.
Regards,
Kshitiz