Skip to content

Dynamic dropdown based on cell value in a row.

Question:
I have a need where I am using set_col_edit and using "Select" to show the dropdown options from a table. I have a need where the values shown in the dropdown should be conditional based on a value in the row? is that possible. Please advice

Solution:
Use "dataUrl" parameter in set_col_edittype() to load the select options from the server side. 

See "dataUrl" in the following page:
http://phpgrid.com/documentation/set_col_edittype/

Feedback and Knowledge Base