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 GridGroupingControl datasource update

Thread ID:

Created:

Updated:

Platform:

Replies:

67013 Aug 7,2007 09:52 AM Aug 10,2007 06:11 PM Windows Forms 1
loading
Tags: Chart
Sathishkumar Kaliavaradhan
Asked On August 7, 2007 09:52 AM

Hi All,

I am using syncfusion version 4.4.0.51 and .NET 2.0

I have problem in GridGroupingControl while update datasource i need to update one of the check box field of UI should be checked or unchecked but it is not updating

Can you please tell me how do i update UI field?

Thanks and Regards
K.Sathishkumar

J.Nagarajan [Syncfusion]
Replied On August 10, 2007 06:11 PM

Hi Sathish,

You can get the record of the checkboxfield and use the Record.SetValue() method to set the value for the checkbox fields. Please refer the code below.

Record rec = this.gridGroupingControl1.Table.CurrentRecord;
if (rec != null)
{
bool val = (bool)rec.GetValue("Check");
rec.SetValue("CheckColumn", !val);
}

Please let me know if you have any questions.

Regards,
Nagaraj

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.

;