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); }
public override void Sort(System.Collections.IComparer comparer) { base.Sort(comparer); if (dataSource == null) { dataSource = new DataSourceManager(this, null); } dataSource.Sort(comparer); FillGrid(groupTemplate); }