AD
Administrator
Syncfusion Team
February 21, 2006 06:08 AM UTC
Hi Chris,
Try setting the data source in the gridGroupingControl1_TableControlCurrentCellActivated event handler to see if that helps. Below is a code snippet.
private void gridGroupingControl1_TableControlCurrentCellActivated(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlEventArgs e)
{
GridCurrentCell cc = this.gridGroupingControl1.TableControl.CurrentCell;
GridDropDownGridListControlCellRenderer cr = cc.Renderer as GridDropDownGridListControlCellRenderer;
cr.ListControlPart.DataSource = //set data source
...........
...........
}
}
Regards,
Calvin.
CV
Chris Victory
February 21, 2006 05:46 PM UTC
Thanks, that worked.
>Hi Chris,
>
>Try setting the data source in the gridGroupingControl1_TableControlCurrentCellActivated event handler to see if that helps. Below is a code snippet.
>
>private void gridGroupingControl1_TableControlCurrentCellActivated(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlEventArgs e)
> {
> GridCurrentCell cc = this.gridGroupingControl1.TableControl.CurrentCell;
>
> GridDropDownGridListControlCellRenderer cr = cc.Renderer as GridDropDownGridListControlCellRenderer;
>
>cr.ListControlPart.DataSource = //set data source
> ...........
> ...........
>
> }
>
> }
>
>
>Regards,
>Calvin.