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

Forcing grouped grid to rebind

Thread ID:

Created:

Updated:

Platform:

Replies:

33563 Aug 23,2005 03:51 AM UTC Aug 26,2005 06:44 AM UTC WinForms 3
loading
Tags: GridControl
Damien Sawyer
Asked On August 23, 2005 03:51 AM UTC

Hi, I have a grouped grid that is grouping on the status of a bool/checkbox. Can someone please tell me how to get it to refresh? This will cause items to move between the groups as their flags change. Thanks very much in advance, Damien Sawyer

Administrator [Syncfusion]
Replied On August 23, 2005 05:17 AM UTC

Hi If you provide additional information , it would be easy for me to work on it. Do you like to group based on the checkbox value? If so ,where should be checkbox? Is it a column in grid or seperate control on the form? Regards Mouli.

Damien Sawyer
Replied On August 26, 2005 04:33 AM UTC

Hi, Sorry for being vague Mouli, Yes - I am grouping on the checkbox value. The checkbox is one of the columns in the grid. It has been set as a checkbox by the following code... GridColumnDescriptor gcd = new GridColumnDescriptor(..... gcd.Appearance.AnyRecordFieldCell.CellType = "CheckBox"; I Hope that this is enough information. Thanks very much for your help. Damien Sawyer >Hi > If you provide additional information , it would be easy for me to work on it. Do you like to group based on the checkbox value? If so ,where should be checkbox? Is it a column in grid or seperate control on the form? > >Regards >Mouli. >

Administrator [Syncfusion]
Replied On August 26, 2005 06:44 AM UTC

The default behavior is for the change to take place and the item change groups when you leave the record. If you want it to happen immediately, then you can handle the TableControlCheckBoxClick event. There you can set a slight delay so the click can finish, and then end the edit so the groups are reset. Here is a little sample that worked for me in the 3.3RC. http://www.syncfusion.com/Support/user/uploads/GGC_Bool_1a8268c4.zip

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

;