Example #1
0
 internal void RefreshAfterSorting(bool cancelScroll)
 {
     if (View == null)
     {
         return;
     }
     this.treeGrid.SelectionController.SuspendUpdates();
     View.RefreshSorting();
     this.treeGrid.SelectionController.ResumeUpdates();
     if (!View.IsInDeferRefresh)
     {
         this.treeGrid.SelectionController.HandleGridOperations(new TreeGridOperationsHandlerArgs(TreeGridOperation.Sorting,
                                                                                                  new SortColumnChangedHandle()
         {
             ScrollToCurrentItem = !cancelScroll
         }));
     }
     this.UpdateHeaderCells();
 }