Subject Re: [IBO] TIB_Grid columns
Author Helen Borrie
At 12:48 PM 10/09/2005 +0000, you wrote:
>When working with TDBGrid we have Columns propertie that determines
>what columns must be show on the grid and in what order.
>I couldn't find such a propertie in TIB_Grid, and I am missing it.
>I use a TIB_Query to populate DataSource linked to the TIB_Grid.
>How to determine what columns must be show on the grid and in what
>order?

The TIB_Controls get their "instructions" from the dataset fields
properties. The default column order is the same as the fields[] order
(derived from the DEGREE of each column in your SELECT statement). Any
columns which should not be displayed in grid controls should be set false
in the FieldsVisible property.

If you want to make the order different from that of the SELECT statement,
use the GridLinks property of the IB_Grid. There is detailed documentation
for this property in the help file.

Helen