Search
-
Limit width of table or cell
by Tol ·$jq('#idtABLE tbody td').live('mouseover', function() { -
How do you use fnSortListener?
by allan ·I would recommend using iDataSort rather than fnSortListener for this: http://datatables.net/usage/columns#iDataSort . It's probably possible to do what you want with fnSortListener, but a lot more co -
Set default page size to 100
by ab ·iDisplayLength is the parameter you are looking for. Documentation is your friend: http://datatables.net/usage/options#iDisplayLength -
nThs is null - Error message
by findpritz ·$("#id_of_the_table").dataTable({ -
ajax source
by lvalero ·$('#idselect').val(this.innerHTML); -
Bug in Constructor + fix
by mot ·In one tab you have DataTables. You set #id for DataTables table. -
Getting oColumn undefined but table seems alright!
by crazycoders ·For exemple, if a table doesn't feature THs or something like that, gracefully continue working and alert the user that table #ID something doesn't conform, it will make us lose much less time to debu -
how can i delete the current row using fnDeleteRow on a button click inside a cell
by salesawagner ·or anything like that, for example [code]$("#IDROW). hide ()[/code] or if -
Problem with sAjaxSource since update to Jquery 1.4 & Datatable 1.6.1
by Tobias ·oTableUser = $('#idUser').dataTable( { -
ajax source
by lvalero ·$('#idselect2').val(this.innerHTML); -
Combo modification
by allan ·Yes - you need to set iDisplayLength as well to let it select which one of the options you want to use initially: http://datatables.net/usage/options#iDisplayLength -
iDisplayStart with sorting
by allan ·You can pass "iDisplayStart" as an initialisation parameter: http://datatables.net/usage/options#iDisplayStart . Slightly confusing with two iDisplayStart parameters.... :-) -
change column name on the fly
by hardlick ·$("#ides").text('new column name'); -
How to sort by a hidden value
by allan ·You can tell one column to sort based on the data in a different column using the iDataSort ( http://datatables.net/usage/columns#iDataSort ) parameters. There is a code example in the documentation. -
Default entries per page
by allan ·1. Change number of entries per page: iDisplayLength - http://datatables.net/usage/options#iDisplayLength -
Suggested Code Addition for Variable Pagination Lengths
by allan ·You can just use the iDisplayLength ( http://datatables.net/usage/options#iDisplayLength ) initialisation property to set the number of records to be shown on a page at initialisation. This will work -
how do I post form value to dynamically chage the data
by allan ·I think this is more of a general Javascript question than a DataTables one - if you could ask these in another forum such as the Web-developer forums in future: http://www.webdeveloper.com . Having s -
display page n instead of 1 after datatables initialized
by allan ·1. Use the iDisplayStart option: http://datatables.net/usage/options#iDisplayStart - which will let you jump the display to a certain row. I've just tried this option and it should work fine in 1.5.2. -
Name Conflict
by allan ·2. Query("#id1").datatable - the method DataTables provides is called 'dataTable' - so you will get an error if you try to call datatable(). -
Name Conflict
by sobersp ·jQuery("#id1").datatable(options);