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

GridDataBoundGrid and ComboBox

Thread ID:





28214 Apr 27,2005 12:40 AM UTC Apr 28,2005 01:37 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On April 27, 2005 12:40 AM UTC

I have a question/problem. Heres the scenario. I have a grid and a control pane if you will on a form. There are some radio buttons on the pane. These radio buttons need to change by the changing of a combo box cell on the grid. Problem is that when I use the CurrentCellCloseDropDown or the CurrentCellChanged it reports the old value of the cell. Heres the code I used to access it: private void dataGrid_CurrentCellChanged(object sender, System.EventArgs e) { this.buttonApply.Enabled = true; // Current Cell GridCurrentCell cc = this.dataGrid.CurrentCell; if ( cc.ColIndex == sIndex ) { // Get Value System.Diagnostics.Debug.WriteLine(dataGrid.DataBoundGridModel[cc.RowIndex, sIndex].CellValue); } } forgive the debug statements, Im using those to try to figure out a solution to this. But the method I use to get the value is in the debug statement following the // Get Value comment. Thanks for the help, it is appreciated.

Administrator [Syncfusion]
Replied On April 28, 2005 01:37 AM UTC

Hi Trevor, You can get the new value from the current cell''s renderer. this.gridDataBoundGrid1.CurrentCell.Renderer.ControlValue Best regards, Jay N


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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