![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder 2 Preview » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Thu, Apr 16 2015 12:35 AM | Permanent Link |
Steve Gill | Anyone know how to add rows to a TGrid? In EWB1 I did this:
grdInfo.AppendRow; grdInfo.Cells[0, 0] := 'Hello'; It doesn't work in EWB2 because there doesn't appear to be a Cells property. = Steve |
Thu, Apr 16 2015 6:43 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Steve:
Digging into source ... webgrids ... Here it is: procedure TForm1.Button3Click(Sender: TObject); var s : string; begin Grid1.AppendRow; Grid1.Rows.Row[0].Value[0] := 'x'; s := Grid1.Rows.Row[0].Value[0]; end; Walter |
Thu, Apr 16 2015 7:21 AM | Permanent Link |
Steve Gill | Hi Walter,
<< Digging into source ... webgrids ... Here it is: procedure TForm1.Button3Click(Sender: TObject); var s : string; begin Grid1.AppendRow; Grid1.Rows.Row[0].Value[0] := 'x'; s := Grid1.Rows.Row[0].Value[0]; end; >> Well that's different!?! Thanks. = Steve Walter |
Thu, Apr 16 2015 2:18 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Walter,
Just a quick note - both of these properties (Row and Value) are marked as default properties, so you can just use: Grid1.Rows[0][0] Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, July 11, 2025 at 10:48 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |