Subject | TIB_Grid column order |
---|---|
Author | Joe |
Post date | 2010-11-13T01:57:41Z |
I have switched from using a TDBGrid with a TIBOTable, to using a TIB_Grid with a TIB_Query.
I can't figure out how to change the column order in the grid. With TDBGrid, I could right-click on it and choose Column Editor to edit the column order, but TIB_Grid doesn't seem to have that option.
So, I figured I would have to set the order in the TIB_Query, but I can't figure out how to do it. I thought of changing the column order in the Select statement, but that doesn't work because one of the columns is a calculated field, and it needs to go in the middle of the list of columns. I tried setting OrderingLinks, but that didn't make a difference.
What setting do I need to change?
-Joe
I can't figure out how to change the column order in the grid. With TDBGrid, I could right-click on it and choose Column Editor to edit the column order, but TIB_Grid doesn't seem to have that option.
So, I figured I would have to set the order in the TIB_Query, but I can't figure out how to do it. I thought of changing the column order in the Select statement, but that doesn't work because one of the columns is a calculated field, and it needs to go in the middle of the list of columns. I tried setting OrderingLinks, but that didn't make a difference.
What setting do I need to change?
-Joe