Change field options for row without affecting others
Change field options for row without affecting others
How can I change the field options for the field in one row without changing the instance for the rest of the table?
Case example: The table has inline edit enabled. I have 3 columns in the table (level1, level2, level3), that have default select options loaded when initialized and set with the value from database. The user picks a level1, level2 gets updated with the new sub categories of level1. I can get it to update just fine, the problem is it ends up updating every rows level2 options.
This question has an accepted answers - jump to answer
Answers
Hi,
It sounds like you might want to use the
dependent()
method. There is an example available here.Allan
Thank you!