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.
Syncfusion Feedback

Selection mode in GrouingGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

18891 Sep 13,2004 07:14 AM UTC Sep 16,2004 03:08 PM UTC Windows Forms 6
loading
Tags: Grouping
Naveed Ahmed Siddiqui
Asked On September 13, 2004 07:14 AM UTC

I am using GroupingGridControl with DataSource of 2 related tables. I have set the gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.Row | GridSelectionFlags.AlphaBlend and gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.One; but when i click on any child of a group, the corresponding child row of all other groups got selected automatically. That means if i have 4 groups and i click on a child row of only one group i have 4 rows selected instead of 1. Moreover the selection of parent rows occurs at the same time, i.e. if i select a child row and then any of the parent rows both of them remain selected. I hope this is by design, but i dont want this behaviour. Please tell me how to avoid this behaviour.

Naveed Ahmed Siddiqui
Replied On September 13, 2004 07:22 AM UTC

One more thing, its really strange but some how the first child row of any group does not get selected. I''m attatching the sample for u to see. BTW im using Evaluation Version of GridGroupingControl v2.0.5.1

Naveed Ahmed Siddiqui
Replied On September 13, 2004 07:24 AM UTC

One more thing, its really strange but some how the first child row of any group does not get selected. I''m attatching the sample for u to see. BTW im using Evaluation Version of GridGroupingControl v2.0.5.1 GroupingGridTest_3757.zip

Administrator [Syncfusion]
Replied On September 13, 2004 12:49 PM UTC

You should try 2.1.0.9 as ListBoxSelectionMode works better in that version. Here is a forum thread that has a little sample with ListBoxSelectionMode set. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=18850

Naveed Ahmed Siddiqui
Replied On September 16, 2004 05:04 AM UTC

It seems that we have to get v2.1.0.9 because the link u provided does not helped at all. Did u understand the problem statement??

Naveed Ahmed Siddiqui
Replied On September 16, 2004 01:32 PM UTC

We have downloaded the evaluation version of EssentialSuite v2.1.0.9. and yet we face the same selection problem. I dont think this forum is of help to the customers. plz be more responsible in reply and try to solve our problems instead or redirection.

Administrator [Syncfusion]
Replied On September 16, 2004 03:08 PM UTC

Hi Naveed, the ListBoxSelectionMode.One only works with non-nested tables, not with nested tables. We are working on a selection mechanism also for nested tables for the next version. For your specific requirements you should therefore not use ListBoxSelectionMode.One. Instead we recommend handling PrepareViewStyle and simply highlighting the current record. That attached sample HighlighCurrentRecord2109_5329.zip shows how to do this. It also demonstrates how to navigate the current record between nested tables (we''ll also make this a built-in option in future releases). Stefan

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

;