Search
-
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).