mRender with jEditable

mRender with jEditable

sxk9sxk9 Posts: 1Questions: 0Answers: 0

Is it possible to use these two together? It doesn't seem to work.

My code:

$(document).ready(function () {
            $("#table").dataTable({
                "bJQueryUI": true,
                "bFilter": false,
                "bProcessing": true,
             }).makeEditable({
                "sUpdateURL": "/Update",
                "sAddURL": "/Add",
                        "sAddHttpMethod": "POST",
                "aoColumns": [
                              null, //null for read-only columns
                              null,
                              {
                                  "data"   : " {'GREEN':'GREEN','YELLOW':'YELLOW','RED':'RED'} ",
                                  "type"   : 'select',
                                "mRender": function (data, type, full) {
                                        return data + '1';
                                 }
                      // [...]
                       ]
                          });

The cell still displays the value without appending a 1.

This discussion has been closed.