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.

gridboundcolmn as GridListControl

Thread ID:

Created:

Updated:

Platform:

Replies:

75126 Jul 14,2008 07:50 AM Jul 15,2008 05:52 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 14, 2008 07:50 AM

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 :)


Jisha Joy [Syncfusion]
Replied On July 15, 2008 05:52 AM

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




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.

;