Hi
I put the grid in edit mode and getting the new values , But I want to get the old values for comparison. How do I use SavesOldValues
If (e.CommandName = "UpdateAll") Then
For Each editedItem As GridEditableItem In grdItemCatgLoc.EditItems
Dim newValues As Hashtable = New Hashtable
e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem)
Dim ProductID As Long = newValues("ProductID")
'getting the old values ?????????????????????????
Dim grdDataitem As GridDataItem = e.Item.DataItem
Dim OldProductID as Long = grdDataitem.SavedOldValues("ProductID")
editeditem.Edit=False
Next
I put the grid in edit mode and getting the new values , But I want to get the old values for comparison. How do I use SavesOldValues
If (e.CommandName = "UpdateAll") Then
For Each editedItem As GridEditableItem In grdItemCatgLoc.EditItems
Dim newValues As Hashtable = New Hashtable
e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem)
Dim ProductID As Long = newValues("ProductID")
'getting the old values ?????????????????????????
Dim grdDataitem As GridDataItem = e.Item.DataItem
Dim OldProductID as Long = grdDataitem.SavedOldValues("ProductID")
editeditem.Edit=False
Next