Intersoft ClientUI Documentation
HasChanges Property (UXGridView)



Gets or sets a value that indicates whether there are data changes or not.
Syntax
<CategoryAttribute("Data Editing")>
Public Property HasChanges As Boolean
Dim instance As UXGridView
Dim value As Boolean
 
instance.HasChanges = value
 
value = instance.HasChanges
[CategoryAttribute("Data Editing")]
public bool HasChanges {get; set;}
[CategoryAttribute("Data Editing")]
public:
property bool HasChanges {
   bool get();
   void set (    bool value);
}
Remarks
If you prefer to automatically update the records after each CUD operation, you can perform the server operation in the InsertRowCommand, UpdateRowCommand and DeleteRowCommand respectively, and perhaps followed with the RefreshCommand to refresh the data. However, if you prefer a batch update, you can notify the UXGridView by setting the HasChanges property to true, and later call the SaveChanges method to save all changes in one server call.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXGridView Class
UXGridView Members

Send Feedback