Hi Abu. I have two fields in a record. One depends on a dropdown. The second I put together a select in the following format as selected in the first field. Thank you
$ Col [ "editoptions"] = array ( "value" => 'A:Cat A;B:Cat B');
or
$ Col [ "editoptions"] = array ( "value" => 'A:Cat A;B:Cat B;C:Cat C');
or
$ Col [ "editoptions"] = array ( "value" => 'A:Cat A;B:Cat B;C:Cat C;D:Cat D');
or
$ Col [ "editoptions"] = array ( "value" => 'S:SI;N:NO');
1 Answers
If the options of dropdown are static, then you can connect onchange event of parent dropdown and reload the values of second dropdown using jquery.
Sample code for idea: http://pastebin.com/zQV1JNtP
Your Answer