We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GDBG FilterBar Selection

Thread ID:

Created:

Updated:

Platform:

Replies:

50842 Oct 20,2006 03:31 AM Oct 20,2006 04:57 PM Windows Forms 1
loading
Tags: GridControl
Simon Kakon
Asked On October 20, 2006 03:31 AM

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

Thanks
Sim

Jayakumar Natarajan [Syncfusion]
Replied On October 20, 2006 04:57 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;