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.
Up arrow icon