i was frustated enough, tried to change the datatable core files, i had that thought because it doesnt have any templating system. but it seems solved the way i do it.
i ll explain, sDom
it says Rlfrtlip.
the letter that I have concern with is the "l" means length-> this one is for datatabel length feature.
so R means something else, and datatable will parse them and render it.
so it will render "R", then "l"(the length changing dropdown), f,r, and so on, till "t" will render the table, and "l" again, it will render the datatable length again.
Replies
so it just the matter of one letter in a variable.
how i did it,
by changing sDom variable at initialization
[code]
$('#box-table-a').dataTable( {
"sPaginationType": "full_numbers",
"sDom": 'Rlfrtlip',
"bStateSave": true,
"aoColumnDefs": [
{ "bSortable": false, "aTargets": [0,6,7] },
{ "bSearchable":false, "aTargets": [0,6,7] }
]
} );
[/code]
i ll explain, sDom
it says Rlfrtlip.
the letter that I have concern with is the "l" means length-> this one is for datatabel length feature.
so R means something else, and datatable will parse them and render it.
so it will render "R", then "l"(the length changing dropdown), f,r, and so on, till "t" will render the table, and "l" again, it will render the datatable length again.