I have a RadGrid that I'm building manually using a series of Grid.MasterTableView.Columns.Add(boundColumn) commands. Everything works great when the grid is initially being built. Then depending upon user actions I add additional columns to the grid in the same manner. This works well. But if I add a column and the user moves (resequences) that column, then the next time a add a column it's not appended as the last column - it shows up after the previously added column.
So let's say I have a grid like this:
NAME ID ADRESS
Then programmatically I add phone. The grid now looks like this:
NAME ID ADRESS PHONE
Now the user drags PHONE to the left and makes it the first column:
PHONE NAME ID ADRESS
Now I programmatically add another column TITLE (using columns.add) and instead of appearing as the last column it appears after PHONE:
PHONE TITLE NAME ID ADRESS
Is there any way to always have columns appear as the last column as they're added?
So let's say I have a grid like this:
NAME ID ADRESS
Then programmatically I add phone. The grid now looks like this:
NAME ID ADRESS PHONE
Now the user drags PHONE to the left and makes it the first column:
PHONE NAME ID ADRESS
Now I programmatically add another column TITLE (using columns.add) and instead of appearing as the last column it appears after PHONE:
PHONE TITLE NAME ID ADRESS
Is there any way to always have columns appear as the last column as they're added?