Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TMS IntraWeb Component Pack Pro
TTIWAdvWebGrid: How to display buttons in specific cells
TTIWAdvWebGrid: How to display buttons in specific cells
You can use the OnGetCellType event to specify the column type for a specific row, column or cell.
Example:
procedure TIWForm1.TIWAdvWebGrid1GetCellType(Sender: TObject; RowIndex, ColumnIndex: Integer; var AColumnType: TTIWColumnType; var Editor: TTIWColumnEditor; var DynEditor: TTIWDynEditType); begin if (ColumnIndex = 1) and (RowIndex = 1) then AColumnType := ctButton; end;