AD
Administrator
Syncfusion Team
June 23, 2004 09:40 AM UTC
By the way, how to disable the feature (header sorting) for whole control.
AD
Administrator
Syncfusion Team
June 24, 2004 03:22 PM UTC
Hi Vadim,
thanks for reporting the problem with the exception when clicking twice on the column header. This is a bug and we''ll get that fixed.
Regarding the question how to disable clicking on the column header try this:
this.gridGroupingControl1.TableControlCellClick += new GridTableControlCellClickEventHandler(gridGroupingControl1_TableControlCellClick);
private void gridGroupingControl1_TableControlCellClick(object sender, GridTableControlCellClickEventArgs e)
{
Element el = e.TableControl.Table.DisplayElements[e.Inner.RowIndex];
if (el is ColumnHeaderRow)
e.Inner.Cancel = true;
}