This project is read-only.

Cascade Dropdowns

Apr 27, 2012 at 3:00 PM

Hi,

Could you please help me in creating cascading dropdowns for template items...

Like..

Row 1:

First select having country  -  Second select need to display Provinces of selected country...

Please help...

Thanks

Siva

Apr 27, 2012 at 3:18 PM

Hi Siva,

I think you'll need to fill the second combo by hands because i suppose it's not possible to use a datasource in this case.

If I understood the problems you have a list of records displayed into a template, each row contain a Country and a Province field at least.

You should write an appropriate handler added with the "jQXB.addOnTemplateItemBoundhnd" method. or using jQXB.addOnAfterUpdatehnd against the datasource containing teh rows. Most probably there are other alternatives ways to get that using a ViewModel, but we are speaking about desing. 

If you send your piece of code I'll try to give you some suggestions.

 

Best Regards,