Hi.
Sorry, i can't find how to delete multi-selected rows (i have also searched on the forum but without success)
Thanks
deleting multi-selected rows
Started by realguigui, Feb 08 2005 03:48 PM
1 reply to this topic
#1
Posted 08 February 2005 - 03:48 PM
#2
Posted 08 February 2005 - 06:56 PM
Hello,
You need to write something like this:
I hope that this help
regards
You need to write something like this:
CODE
i := 0;
while i < grid.rowcount do
begin
if grid.selected[i] then grid.deleterow[i] else i := i + 1;
end;
while i < grid.rowcount do
begin
if grid.selected[i] then grid.deleterow[i] else i := i + 1;
end;
I hope that this help
regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users