I try to delete a record from an ultragrid with this two examples:
(1)
ultragrid1:rows:Item[5]:Delete()
(2)
ultragrid1:rows:Item[10]:Selected = true
ultragrid1:DeleteSelectedRows(false).
In both cases the last record in the ultragrid is deleted. When I select two records with the Selected method, then the last two records in the ultragrid are deleted. Somewhere the recordsscope is lost, the delete method points to the wrong record. Can anybody help me?
HI i m vb.net developer i delete the selected row through that way in ultragrid
Dim row As UltraGridRow For Each row In Me.UltraGrid1.Selected.Rows
row.Delete(False) Me.UltraGrid1.UpdateData() Next
thanks