Search
-
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); -
Sort visible column by a hidden column
by allan ·It certainly does exist: iDataSort is the parameter you are looking for: http://datatables.net/usage/columns#iDataSort -
Show "x" entries
by allan ·Okay, to set the initial page length use: iDisplayLength - http://datatables.net/usage/options#iDisplayLength -
sort by checkbox column
by allan ·Another option is to add event listeners to each checkbox and change a value in a hidden column (you can use http://datatables.net/usage#iDataSort for this) or hidden element (with custom filtering). -
Default Pagination Values
by allan ·To change the number of records shown on the first draw you can use iDisplayLength - please see the documentation: http://datatables.net/usage#iDisplayLength . You can also use -1 (in v1.5) as the len -
Sorting IP Address
by allan ·1.2. You can do as you say and have a hidden column which you use for sorting the data on the visible column. For this you want the iDataSort parameter: http://datatables.net/usage#iDataSort -
Opera...
by allan ·What you can do is add an extra (hidden) column to your table with a unix timestamp representation of your date/time and use that column for the sorting on your visible date column (you can use iDataS -
How to change the table height?
by allan ·1. The number of rows can be controlled by iDisplayLength ( http://datatables.net/usage#iDisplayLength ) -
date format
by allan ·Another option is to have a hidden column in the table which has the integer representation of the time, such that the visible column is the friendly "human" one, but is sorted based upon th -
Sorting list items/divs
by allan ·or use iDataSort - http://datatables.net/usage#iDataSort - to allow sorting on any column, with your ranking be correctly sorted as well).