![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Fri, Jun 1 2018 7:30 PM | Permanent Link |
jdforce | Would like to create / remove grid columns at runtime and assign the corresponding data field.
However the grid component does not seem to have the "columns" property stated on the documentation. Well, I was thinking of something like Grid1.columns.add but have tried a number of similar "ala delphi" commands without success. Will be glad of some example please. JD |
Sat, Jun 2 2018 5:40 AM | Permanent Link |
Uli Becker | > Will be glad of some example please.
.... var TempColumn: TGridColumn; begin TempColumn := TGridColumn.Create(Grid1); with TempColumn do begin ControlType := ctEdit; DataColumn := 'Field1'; Alignment := caCenter; Index := 0; Width := 150; ... end; end; Uli |
Sat, Jun 2 2018 7:04 AM | Permanent Link |
Ralf Mimoun | TGrid.NewColumn
![]() jdforce wrote: Would like to create / remove grid columns at runtime and assign the corresponding data field. However the grid component does not seem to have the "columns" property stated on the documentation. Well, I was thinking of something like Grid1.columns.add but have tried a number of similar "ala delphi" commands without success. Will be glad of some example please. JD |
Sat, Jun 2 2018 12:04 PM | Permanent Link |
jdforce | Thanks guys.
|
This web page was last updated on Friday, March 17, 2023 at 10:08 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |