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.

Dropdown grid checkbox

Thread ID:

Created:

Updated:

Platform:

Replies:

28943 May 12,2005 02:05 PM May 13,2005 07:49 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 12, 2005 02:05 PM

Hi, My dropdown grid has a checkbox and a button. I want to enable and disable the button based on the value of the checkbox. In the CheckBoxClick event handler, I want to query the value of the checkbox (the value after the action has taken place). So I call dropDownGrid.CurrentCell.ConfirmChanges(); This does not seem to work. When I query the value of the checkbox, it is still the old value. I also tried dropDownGrid.ConfirmPendingChanges(); and dropDownGrid.ConfirmChanges(); but same result. What am I missing here? Thanks,

Administrator [Syncfusion]
Replied On May 13, 2005 07:49 AM

A CheckBox celltype does not have a ''real active'' state. That is why CurrentCell.ConfirmChanges does ''save'' values in a CheckBox cell. CheckBoxClick is raised just before the value of the value is saved. Try using the CurrentCellChanged event. This is raised after the value has been updated in the grid.

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.

;