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;
}
Stefan
AddHandler Me.gridGroupingControl1.TableControlCellClick, AddressOf gridGroupingControl1_TableControlCellClick
Private Sub gridGroupingControl1_TableControlCellClick(sender As Object, e As GridTableControlCellClickEventArgs)
Dim el As Element = e.TableControl.Table.DisplayElements(e.Inner.RowIndex)
If TypeOf el Is ColumnHeaderRow Then
e.Inner.Cancel = True
End If
End Sub ''gridGroupingControl1_TableControlCellClick
Stefan