cascading combo example

Please upload cascading combo examples for both dhtmlx touch and dhtmlx combo(using data processor).

rgds,
roosen

You can use data binding - check the attached sample
01_loading.zip (1.23 KB)

thank you for the post.
Based on given attachment I modified the program to get values from database successfully.

//////////////////////////////////////
14_select_select_client_db.html
////////////////////////////////////

dhx.ready(function(){ dhx.ui({ rows:[ { view:"richselect", id:"sel1", options:[] }, { view:"richselect", id:"sel2", options:[] }, ] });
			$$("sel1_list").define("template","#id#");
			$$("sel1_list").load("gridData.php");
			//$$("sel1_list").parse([{ id:"A"},{ id:"D"},{ id:"E"},{ id:"N"},{ id:"S"},{ id:"W"},{ id:"Z"}]);

			$$("sel2_list").define("template","#name#");
			//$$("sel2_list").load("data.json");
            $$("sel2_list").load("gridData.php");


			$$('sel2_list').bind($$('sel1'), function(linked, master){
				if (!master) return true;
				return linked.id.indexOf(master) == 0;
			});

		});



	</script>
</body>

////////////////////////////////////
gridData
/////////////////////////////

<?php require_once("data_connector.php"); $res=mysql_connect("localhost","root","SQL"); var_dump($res); mysql_select_db("contacts"); $data = new JSONDataConnector($res); var_dump($data); $data->render_table("details","id","name,email"); ?>