GDBG FilterBar Selection

Hi,
How can I disable the selection highlight of the
filter bar Cells ?

Thanks
Sim

1 Reply

JN Jayakumar Natarajan Syncfusion Team October 20, 2006 08:57 PM UTC

Hi Sim,
You can try handling the SelectionChanging event and cancel the selection for the FilterBar cells.


this.gridDataBoundGrid1.Model.SelectionChanging += new GridSelectionChangingEventHandler(Model_SelectionChanging);

private void Model_SelectionChanging(object sender, GridSelectionChangingEventArgs e)
{
// First Row - FilerBarCells
if(e.Range.Contains(GridRangeInfo.Cells(1,1,1,this.gridDataBoundGrid1.Model.ColCount)))
e.Cancel = true;
}


Let us know if this doesn't solve your issue. Any screenshots would be helpful.

Regards,
Jay

Loader.
Up arrow icon