Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 7 of 7 total |
TGrid: Deleting Rows. |
Fri, Jul 10 2015 12:24 AM | Permanent Link |
Steve Gill | I must be going blind because I can't seem to find any way to delete all rows in an unbound grid. I've looked for DeleteRows, DeleteAllRows, Clear and Empty. Is there a method for deleting all rows or do I have to do it using a loop?
Thanks. = Steve |
Fri, Jul 10 2015 4:49 AM | Permanent Link |
Mark Brooks Slikware | Steve Gill wrote:
>>I must be going blind because I can't seem to find any way to delete all rows in an unbound grid. I've looked for >>DeleteRows, DeleteAllRows, Clear and Empty. Is there a method for deleting all rows or do I have to do it using a >>loop? Ditto Steve. I think there are certainly a few bits missing at the moment. I also had to loop. The grid has a lot of potential though. I need an icon column at the very least and "cell changed" event. |
Fri, Jul 10 2015 10:43 AM | Permanent Link |
Raul Team Elevate | On 7/10/2015 12:24 AM, Steve Gill wrote:
> I must be going blind because I can't seem to find any way to delete all rows in an unbound grid. I've looked for DeleteRows, DeleteAllRows, Clear and Empty. Is there a method for deleting all rows or do I have to do it using a loop? Grid1.RowCount := 0; Raul |
Fri, Jul 10 2015 2:57 PM | Permanent Link |
Huseyin Aliz myBiss ApS | Nice tip Raul
On 10-07-2015 16:43, Raul wrote: > On 7/10/2015 12:24 AM, Steve Gill wrote: >> I must be going blind because I can't seem to find any way to delete >> all rows in an unbound grid. I've looked for DeleteRows, >> DeleteAllRows, Clear and Empty. Is there a method for deleting all >> rows or do I have to do it using a loop? > > Grid1.RowCount := 0; > > Raul > |
Fri, Jul 10 2015 7:05 PM | Permanent Link |
Steve Gill | << Grid1.RowCount := 0; >>
Thanks Raul! = Steve |
Mon, Jan 23 2017 9:06 AM | Permanent Link |
Matthew Jones | Raul wrote:
> Grid1.RowCount := 0; I'm just going to comment with DeleteRow as a singular here, because this didn't come up for my search. But now it will for anyone else who wants a DeleteRow that deletes all rows in one go. -- Matthew Jones |
Wed, Jan 25 2017 1:59 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Mark,
<< Ditto Steve. I think there are certainly a few bits missing at the moment. I also had to loop. The grid has a lot of potential though. I need an icon column at the very least and "cell changed" event. >> MyGridColumn.ControlType:=ctIcon; As for the cell change detection, are you referring to bound or un-bound usage ? Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, November 1, 2024 at 07:01 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |