sDom not working
sDom not working
isolnz
Posts: 2Questions: 0Answers: 0
i have tried different formats like
"sDom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'
"sDom": '<"top"i>rt<"bottom"flp><"clear">'
but no effect in appearance
what should b the reason
i want to remove all filter, info, pagination all options, so that it resemble a simple table, what should i do?
"sDom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'
"sDom": '<"top"i>rt<"bottom"flp><"clear">'
but no effect in appearance
what should b the reason
i want to remove all filter, info, pagination all options, so that it resemble a simple table, what should i do?
This discussion has been closed.
Replies
[code]
var oTable = $('#yourtable').dataTable( {
"sDom": 't'
} );
[/code]
t is the actual table so I guess you need it. :)
Try learning what each of the options are from here:
http://datatables.net/usage/options#sDom
i have tried this too
but has to effect on my table appearance
i have set all options false like
"bDestroy": true,
"bRetrieve": true,
"bLengthChange": false,
"bPaginate": false,
"bFilter": false,
"bSort": false,
"bInfo": false,
"bAutoWidth": false,
"sPaginationType": "full_numbers",
"sDom": 't'
one more thing, i m using ajax to populate table, then make some changes in it and then save it to server using ajax.
i dont know whats wrong with appearance. searching, sorting, pagination everything working fine. but dont want to enable this features.
if u have any idea or experience regarding this problem then plz inform me
thanks in advance
Allan