How to make first column is fixed for data table, and how to disable search & sort features in DT?
How to make first column is fixed for data table, and how to disable search & sort features in DT?
satyamgaddamanugu
Posts: 1Questions: 0Answers: 0
Hello EveryOne,
I am creating a jquerymobile page with datatable concept.
I have a doubt that how to get first column is to be fixed in datatable??
and i dont need search & select number of pages options which are default by Datatable.
because i have only 3 rows & 2 columns of data exactly which i want to display like shown bellow link..
http://forum.jquery.com/topic/how-to-make-first-column-is-fixed-for-data-table-and-how-to-disable-search-sort-features-in-dt
can any one tell me how to do it?
actually i have seen this link.. http://datatables.net/release-datatables/extras/FixedColumns/index_column.html but i am not getting how to do.??
I am creating a jquerymobile page with datatable concept.
I have a doubt that how to get first column is to be fixed in datatable??
and i dont need search & select number of pages options which are default by Datatable.
because i have only 3 rows & 2 columns of data exactly which i want to display like shown bellow link..
http://forum.jquery.com/topic/how-to-make-first-column-is-fixed-for-data-table-and-how-to-disable-search-sort-features-in-dt
can any one tell me how to do it?
actually i have seen this link.. http://datatables.net/release-datatables/extras/FixedColumns/index_column.html but i am not getting how to do.??
This discussion has been closed.
Replies
Anyways, to disable sorting,
Set as follows.
[code]
"bSort": false
[/code]
To disable pagination, no of pages selection etc. use
[code]
"sDom": 'rt<"clear">'
[/code]
And bPaginate / bLengthChange .
It sounds like FixedColumns is what you want. You say it didn't work for you, but in what way? Without an explanation (and a link) of what is no working we can't offer any help!
Allan