how to avoid the column of checkbox binding data from js array

how to avoid the column of checkbox binding data from js array

lhkzyzlhkzyz Posts: 3Questions: 0Answers: 0
edited April 2014 in General
[code]








Domain
Price
Clicks



Update

Status

operation


[/code]

[code]$('#sample-table-2').dataTable( {
"aaData":[
["aaa","bbbb","cccccc","Sitepoint","http://sitepoint.com","Blog","2013-10-15 10:30:00"],
["aaa","bbbb","cccccc","Sitepoint","http://sitepoint.com","Blog","2013-10-15 10:30:00"],
["aaa","bbbb","cccccc","Sitepoint","http://sitepoint.com","Blog","2013-10-15 10:30:00"],
["aaa","bbbb","cccccc","Sitepoint","http://sitepoint.com","Blog","2013-10-15 10:30:00"],
["aaa","bbbb","cccccc","Sitepoint","http://sitepoint.com","Blog","2013-10-15 10:30:00"]
],

"aoColumnDefs":[{
"aTargets": [ 0 ],
"bSortable": false,
"mdata":null,
"mRender": function ( url, type, full ) {
return '';
},
"sClass": 'center',
}]

} ); [/code]

please tell me how to avoid "aaa" binding to targets[0],I want to skip it so that I can put six values to seven columns

I think the checkbox don't have bind any values because it is insignificance

Replies

  • lhkzyzlhkzyz Posts: 3Questions: 0Answers: 0
    who can tell me ?
  • lhkzyzlhkzyz Posts: 3Questions: 0Answers: 0
    I know it,just use mdata set the value is null!
This discussion has been closed.