Dropdown with editor
Dropdown with editor
hgsadhrakiya
Posts: 17Questions: 5Answers: 0
I knew that there is an example of this in this: https://editor.datatables.net/examples/inline-editing/join.html
But it uses join of the tables where all dropdown having the same values.
I want to know if there are any other examples where all the dropdown has different values.
It will be good if the values of the dropdown are filled by the response of json (no use of join).
This discussion has been closed.
Answers
I'm afraid I don't understand what you mean. The dropdown in the example you linked to has six options, each with a different value.
Could you clarify your question for me?
Thanks,
Allan
In my case the dropdown structure is as follow:
First row dropdown with
"Default", "Group 1", "Group 2", "Group 2"
these values with selected value"Group 2"
- Second row dropdown with
"Default", "Group 1", "Group 2", "Group 1"
these values with selected value"Group 1"
- Third row dropdown with
"Default", "Group 1", "Group 2", "Group 99"
these values with selected value"Group 99"
Here is the sample jSon:
[{
"Group": ["Default", "Group 1", "Group 2", "Group 2"],
"selectedGroup": "Group 2"
}, {
"Group": ["Default", "Group 1", "Group 2", "Group 1"],
"selectedGroup": "Group 1"
}, {
"Group": ["Default", "Group 1", "Group 2", "Group 99"],
"selectedGroup": "Group 99"
}]