Subject | Re: [IBO] TIB_Grid column order |
---|---|
Author | Adrian Wreyford |
Post date | 2010-11-13T05:24:25Z |
Hi Joe,
Use the GridLinks property of the TIB_Grid.
Regards
Adrian
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
[Non-text portions of this message have been removed]
Use the GridLinks property of the TIB_Grid.
Regards
Adrian
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
[Non-text portions of this message have been removed]