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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SelectionMode.One and filter in a GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

25957 Mar 10,2005 04:23 PM UTC Mar 15,2005 04:22 PM UTC WinForms 1
loading
Tags: Tools
Jose Egea
Asked On March 10, 2005 04:23 PM UTC

Hello: I have problems using the GridGroupingControl filter bar if ListBoxSelectionMode property is SelectionMode.One. When the user clicks in the filter cell to drown the options, they don''t appear. It works with the double click, but I''m handling that event to open a form. How can I make the filter bar working in the click event? Best regards

Administrator [Syncfusion]
Replied On March 15, 2005 04:22 PM UTC

Hi Jose, thank you for reporting this problem. We fixed it now in our codebase and the fix will be available with the next build. You can workaround the problem using this code: this.groupingGrid1.TableControlCellClick += new GridTableControlCellClickEventHandler(groupingGrid1_TableControlCellClick); private void groupingGrid1_TableControlCellClick(object sender, GridTableControlCellClickEventArgs e) { GridTableCellStyleInfo style = (GridTableCellStyleInfo) e.TableControl.Model[e.Inner.RowIndex, e.Inner.ColIndex]; if (style.TableCellIdentity.TableCellType == GridTableCellType.FilterBarCell ) { Point pt = new Point(e.Inner.MouseEventArgs.X, e.Inner.MouseEventArgs.Y); GridCellRendererBase renderer = e.TableControl.CellRenderers[style.CellType]; if (renderer is GridComboBoxCellRenderer && renderer.PerformLayout(e.Inner.RowIndex, e.Inner.ColIndex, style).Buttons[0].Contains(pt)) { e.Inner.Cancel = true; } } } Please post further questions to the Essential Grouping forum. Thank You, Stefan Hoenig >Hello: >I have problems using the GridGroupingControl filter bar if >ListBoxSelectionMode property is SelectionMode.One. >When the user clicks in the filter cell to drown the options, they don''t appear. It works with the double click, but I''m handling that event to open a form. >How can I make the filter bar working in the click event? > >Best regards

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.

Warning Icon 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.Close Icon

;