Пример #1
0
        public override void Sort(System.Collections.IComparer comparer)
        {
            if (dataSource == null) // if no datasource is set, then bind to the grid itself
                dataSource = new DataSourceManager(this, null);

            dataSource.Sort(comparer);
            FillGrid(groupTemplate);
        }
Пример #2
0
 public override void Sort(System.Collections.IComparer comparer)
 {
     base.Sort(comparer);
     if (dataSource == null)
     {
         dataSource = new DataSourceManager(this, null);
     }
     dataSource.Sort(comparer);
     FillGrid(groupTemplate);
 }