Hi
I would like to know how can we pass ultragrid data into arraylist. Please provide an example.
ArrayList list = new ArrayList();
foreach (UltraGridRow row in grid.Rows)
list.Add(row.Listbject);
Why do you use an ArrayList? List<T> should be used instead.
Thanks for your reply. How to work with List<T> and UltraGrid ??
Well, exactly the same. BTW, if you put the data in the grid somewhere, you can save this data container in your class, so why take the data from the grid?
Thanks for your reply.
I am trying to remove selected rows from UltraGrid. Pls find code below
this.UltraGrid.Selected.Rows.AddRange((UltraGridRow[])this.parsedDataList.Rows.All);
this.UltraGrid.DeleteSelectedRows(false);
but this is giving me vshost.exe error .. Am i doing it right ?