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. Image for the cookie policy date
close icon

gridboundcolmn as GridListControl

hi
i cant access the valuemember or cell value after choosing from the dropdownmulticolmn to apply changes in the griddataboundgrid
and i cant get the index of the row i choose in gridlistcontrol inside the griddataboundgrid
please replay ASAP
regards :)


1 Reply

JJ Jisha Joy Syncfusion Team July 15, 2008 09:52 AM UTC

Hi Abe,

We appreciate your interest in Syncfusion products.

You can access the SelectedIndex by handling CurrentCellCloseDropDown event. Please refer the code:



void gridDataBoundGrid1_CurrentCellCloseDropDown(object sender, Syncfusion.Windows.Forms.PopupClosedEventArgs e)
{

if (e.PopupCloseType == PopupCloseType.Done)
{
GridCurrentCell currentCell = this.gridDataBoundGrid1.CurrentCell;
GridDropDownGridListControlCellRenderer renderer = currentCell.Renderer as GridDropDownGridListControlCellRenderer;
if (renderer != null)
{
MessageBox.Show("SelectedIndex " + renderer.ListControlPart.SelectedIndex.ToString());
}
}
}




Please let me know if this helps.

Regards,
Jisha




Loader.
Live Chat Icon For mobile
Up arrow icon