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.

Regarding updation of GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

67162 Aug 9,2007 08:50 AM Aug 9,2007 08:43 PM Windows Forms 1
loading
Tags: Grouping
Sathishkumar Kaliavaradhan
Asked On August 9, 2007 08:50 AM

Hi All,

I need a help, i using custom record collection as datasource for my GGC, in GGC i have one datasource bounded checkbox column if i change value of checkbox column in datasource then i want update the same in GGC UI but currently not for me.

Please tell me how do i update GGC UI when i change the datasource data.

please reply me as soon as possible because very very urgent for me.

Waiting for your reply...

Thanks and Regards
K.Sathishkumar

Ajish [Syncfusion]
Replied On August 9, 2007 08:43 PM

Hi Sathish,

This can be done using the following code

DataCollection dc = this.gridGroupingControl1.DataSource as DataCollection;
for(int i = 0;i< dc.Count;i++)
dc[i].Checked = !dc[i].Checked;
this.gridGroupingControl1.Table.TableDirty = true;
this.gridGroupingControl1.Table.EndEdit();
this.gridGroupingControl1.Refresh();

Here is a sample for your reference

Sample: http://websamples.syncfusion.com/samples/Grid.Windows/F67162/main.htm

Kindly take a look and let me know if you need any further assistance.

Regards,
Ajish.

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.

;