Object Reference > True DBGrid Methods > ExpandBand Method |
ExpandBand Method
The ExpandBand method expands all rows in a hierarchical grid display for the specified band.
TDBGrid.ExpandBand band
Arguments
band is a zero-based index that identifies a particular band.
Return Value
None
This is a useful way to quickly expand the records in the specified band with one step, instead of one row at a time.
You can use the GetBand method to obtain the band number corresponding to a particular grid column.
This method is only supported by the OLE DB version of True DBGrid Pro. It is used only in bound mode and has no effect in unbound or storage modes.
Note
This property is only supported by the OLE DB version of True DBGrid Pro.