mercredi 18 février 2015

Is it possible to duplicate column in jquery datatable json response

This is my json file, "columns": [{ "title":"Id", "data":"Id", }, { "title":"Name", "data":"Name", "width":"20%", "sortable":false, "searchable":false }, { "title":"Yellowmin", "data":"yellowmin" }, { "title":"Yellowmax", "data":"yellowmax" }, { "title":"redmin", "data":"redmin" }, { "title":"redmax", "data":"redmax" }, ]


And this my response "data":[{"Id":"1","Name":"Tester","yellowin":"10","yellowmax":"30"}],


Can you please advise me can i invoke the above response in to that json, i faced the issue is the "redmin" column in not in row 0


Aucun commentaire:

Enregistrer un commentaire