Hierarchical pair of ui.select + data binding with ui.datatable

Hi all,

Please look @ http://webix.com/snippet/7473fef1 where I have a ui.form that is data-binded to a ui.datatable.

The form however contains two ui.select views “Category” and “Item”.

How do I do:

  1. Selecting a “Category” should change the options in the “Item” select view accordingly.

  2. Selecting a row in the ui.datatable should ensure the “Item” select view is populated with items related to the “Category” of the row, as well as select the “Item” of the row.

TQ

Nevermind. I figured it out. Check the snippet url below for the working code.

http://webix.com/snippet/6ce6a68c

Have a nice day all!