How to get Value from mData : someJsonValue as variable
How to get Value from mData : someJsonValue as variable
Hi Everyone, Good Evening... :)
I'm new to DataTables and I have a question if someone here don't mind to answer. ..
I need to pass value from "mData" : "someValue" into a variable..
This is my Javascript:
$("#example").dataTable( {
            "bJQueryUI": true,
            "sPaginationType": "full_numbers",
            "destroy":true,
            "bProcessing": true,
            "sAjaxDataProp": "",
            "sAjaxSource": "dataSources.txt",
            "aoColumns":
            [
                { "mData": "id", "sClass":"tdhide"},
                { "mData": "rfqnum", "sClass":"tdhide" },
                { "sDefaultContent": "<input type='checkbox' class='singlecheck' value='mDataIDvariable'>"},
                { "mData": "rfqlinenum" },
                { "mData": "linetype" },
                { "mData": "itemnum" },
                { "mData": "description" },
                { "mData": "orderqty" },
                { "mData": "orderunit" },
                { "mData": "enterby" }
            ],
});
I hope someone here don't mind to answer my noob question... how to get variable "mdata" : "id" as variable? so it can be read to checkbox value ?
here's my jsfiddle
http://jsfiddle.net/ok0shqmc/3/
Thank you so much :)