Idea for how to edit a product with 3-level deep categories
Idea for how to edit a product with 3-level deep categories
Good afternoon (o;
I have a table with online products with each beloging to at least one category....and the category table is 3-levels deep like:
- living -> light -> candles
So choosable should be only the last level category like 'candles'....
but I am sure if auto-complete would be a good option.
And is there a way I can dynamically add/remove a select edit field in the alreay opened editor window with a buttons like:
- Add category
- Remove category
Any pointer appreciated :-)
richard
Answers
You could use a data table as an input in Editor using the latest Editor version. The input data table allows you to dynamically add and remove your categories.
Here are some examples that are similar to what you require:
https://editor.datatables.net/examples/datatables/mJoin.html
https://editor.datatables.net/examples/datatables/scroll.html
Sorry for late response....
Not sure if that's gonna fit as I use now for just one category the autocomplete function...number of categories is in the range of 200+...
Is there a way to dynamically add a new row with its own data field in the editor dialog?
Current dialog looks like:
You can add data to joined tables using nested editing.
In this case you might have 3
datatable
field types which cascade their selection (that example usesselect
, but the same applies withdatatable
).Allan