| 1. |
What Is The Use Of Disableautoupdate Method? |
|
Answer» This METHOD prevents the events that represent changes to the underlying DATA from being broadcasted by the view. It also prevents collection from being updated. This method is useful where multiple items in collection are being edited at once. By disabling the auto update the changes are RECEIVED as a batch instead of multiple events. Also in a DataGrid this method prevents update to the collection while a specific item is SELECTED. When item is no longer selected the DataGrid controls calls enableAutoUpdate() method. This method prevents the events that represent changes to the underlying data from being broadcasted by the view. It also prevents collection from being updated. This method is useful where multiple items in collection are being edited at once. By disabling the auto update the changes are received as a batch instead of multiple events. Also in a DataGrid this method prevents update to the collection while a specific item is selected. When item is no longer selected the DataGrid controls calls enableAutoUpdate() method. |
|