Embedding Controls in IWGrid CellsLast Updated: 6/2/2009 | |
| Sections above here: Home » Class Reference » TIWGrid | |
|
Sections below here: Topics in this section: |
In order to embed some controls to your IWGrid, you need to create the controls and then assign these controls to the property Control of the IWGrid Cell you want. The OnRenderCell event is triggered for every cell of the IWGrid and is the best place to add Controls to the Grid. The ACell parameter is the Cell being rendered. ARow and AColumn indicates the number of the row and column of the cell. The first row and column are always 0. The last row of your IWGrid is IWGrid.RowCount -1 and the last column is IWGrid.ColumnCount - 1. procedure TIWForm3.IWGrid1RenderCell(ACell: TIWGridCell; const ARow, AColumn: Integer); |
(C) 2002-2009 - Atozed Software Ltd. | |