GridGroupingControl - Comboboxes - SelectedIndex change


Hi,

Please suggest a solution for the below scenario;

I have a GridGroupingControl which is bound to a datasource which has 2 columns - Name and Age (coming from the same database table).
Both the columns types are set to ComboBox when the data is bound to the GridGroupingControl

Now what i want is that when the user selects a paricular name from the combobox, the age selection should automatically change to the corresponding name.
As data is already loaded in both comboboxes, basically, the selectedindex of age combobox should be set to selectedindex of name combobox, when the name is changed.

Awaiting your reply.

Thanks and Regards,
Sumit


3 Replies

JJ Jisha Joy Syncfusion Team July 2, 2008 08:49 AM UTC

Hi Sumit,

Thank you for your interest in Syncfusion Products.


This can be achieved by using the CurrentCellCloseDropDown event. In the event, the datasource of the second combobox can be changed depending on the value selected in the first combobox.

For implementation, please refer to the following knowledge base article :




http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=102


Please try this and let me know if this helps.

Regards,
Jisha



SS Sumit Shah July 2, 2008 11:17 AM UTC

Hello,
I do not want to change the datasource as the data is loaded fine in both the comboboxes. I just want to change the selectedindex of one combobox as per the selectedindex of the other combobox(when selected value is changed in that combobox).

Can you please propose me some solution?

Thanks,
Sumit

>Hi Sumit,

Thank you for your interest in Syncfusion Products.


This can be achieved by using the CurrentCellCloseDropDown event. In the event, the datasource of the second combobox can be changed depending on the value selected in the first combobox.

For implementation, please refer to the following knowledge base article :




http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=102


Please try this and let me know if this helps.

Regards,
Jisha





JJ Jisha Joy Syncfusion Team July 4, 2008 10:46 AM UTC

Hi Sumit,

Thank you for your update.

Please refer the following forum thread that discusses with the similar topic:


http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=42073


Regards,
Jisha


Loader.
Up arrow icon