Example of dependent() for filtering type: datatable
Example of dependent() for filtering type: datatable
jacob.steinberger
Posts: 86Questions: 18Answers: 1
in Editor
Does anyone have a link to an example of using editor.dependent(), but instead of updating a select (via options), updating a datatable type instead?
Answers
To be slightly more specific on the problem/request, I'm unsure how to reference a "type: datatable" inside an editor definition, to update/refresh the data within it. I can use editor.dependent() to trigger all the necessary workflow to create a filtered dataset, I'm getting it returned, I have it, but unsure how to send that to the editor datatable element to refresh its contents.
Figured it out ...
Not as classy as updating the "options" table, but it works!
That leaves figuring out how to re-select the values, if you're editing something that has already been built ...
Editor should handle the reselection of values automatically. Can you give me a link to a page showing the issue please?
Allan