I have imported a CSV file into a NextGrid (1). I want to select several rows which have checkboxes selected and then copy these rows into a further NextGrid(2) for further processing. How can I go about this?
Al
Copy Cells
Started by Allan, Dec 08 2009 12:52 PM
1 reply to this topic
#1
Posted 08 December 2009 - 12:52 PM
#2
Posted 09 December 2009 - 02:06 PM
Hello Allan,
Currently, only way is to do this manually. You need to add one for loop and then check if row is selected:
Then, you need to add this row into NextGrid2.
I hope that this helps.
Best regards
Currently, only way is to do this manually. You need to add one for loop and then check if row is selected:
CODE
for i := 0 to NextGrid1.RowCount - 1 do
begin
if NextGrid1.Selected[i] then
begin
NextGrid2.AddRow;
...
begin
if NextGrid1.Selected[i] then
begin
NextGrid2.AddRow;
...
Then, you need to add this row into NextGrid2.
I hope that this helps.
Best 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.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











