Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multirow Delete in Grid
#2
puzzle solved!
The loop counter subtraction works!


Code:
Copy      Help
ARRAY(int) arrintSelectedRowsForDelete
int TotalSelectedRowsForDelete = g0.RowsSelectedGet(arrintSelectedRowsForDelete)
for _i 0 TotalSelectedRowsForDelete
,g0.RowDelete(arrintSelectedRowsForDelete[_i]-_i);;need the counter correction since the row numbers change as the delete occurs each time
,

Is there a problem instance where this solution might cause an error?
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)