I am using the dhtmlXGrid and need one column’s combobox selection to drive another column’s combobox contents. What event handler must I use for the first combobox selection? What code samples should I look at to dynamically populate the second combobox’s content based on the value selected in the first combobox? I am using AJAX calls to get the content from a datasource to populate the combobox.
You can use on onEditCell event, it occurs few times
stage 0 - cell edit initiaited
stage 1 - editor opened an ready to work
stage 2 - editor closing initiated
The “stage 0” is the moment of time when you can populate your combobox on the fly.
You can check
samples/pro_dynamic_combo.html
pro_dynamic_combo.html.zip (1.49 KB)