Hi
How to remove selected row from UltraGrid ??
I am using your code. When I select from Grid 5 rows .. .UltraGrid.Rows.Count shows 5 but when i am looping the UltraGrid .. It just iterates 4 times .. Is .UltraGrid.Selected.Rows leaving out Active row ??
you are using the same code that i posted? can you see if the amount of rows that you selected is the same that appears in the Selected.Rows Collection?
i think the method Delete() returns a boolean .. see if you can get .. the last return value.. see if is false.
Why is it not removing active row as well .. If i am selecting 5 rows, it deletes 4 row and the last one selected i.e active row doesn't get deleted .. why is that so ?
foreach
(UltraGridRow row in this.grid.Selected.Rows)
{
row.Delete(false
);
}
I want to delete all the selected rows(range) from UltraGrid