Help me ! I hava a problem with the editor for datatables.

Help me ! I hava a problem with the editor for datatables.

szrenweiszrenwei Posts: 3Questions: 0Answers: 0
edited May 2012 in General
This is an example to use select in the editor, but I don't want to write the string fixed in the page, I want to a dynamic select, means I want the ipOpts value is from server-side, like: json. What should I do ?
{
"label": "Priority:",
"name": "priority",
"type": "select",
"ipOpts": [
{ "label": "1 (highest)", "value": "1" },
{ "label": "2", "value": "2" },
{ "label": "3", "value": "3" },
{ "label": "4", "value": "4" },
{ "label": "5 (lowest)", "value": "5" }
]

Replies

  • ghudeihedghudeihed Posts: 21Questions: 0Answers: 0
    edited May 2012
    Hi szrenwei,

    I think we both are facing the same situation :D, you may want to follow this discussion if you wish

    http://www.datatables.net/forums/discussion/9899/datatable-editor-form-select-ipopts-dynamic-values/p1

    hope we can get a way around it.

    cheers,
    GH
  • szrenweiszrenwei Posts: 3Questions: 0Answers: 0
    Yes, hope wo can solve this problem.
This discussion has been closed.