Any help for the following
Any help for the following

Link to test case: http://live.datatables.net/xediwavu/1/edit
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: Hi,
How to solve to replace the data source as pure html instead of JSON ?
Looking for a kind help from anybody.
Answers
Do you mean you want to Ajax get HTML for the table? You could make your own Ajax call, then insert it into the document and finally initialise the DataTable on that. DataTables' own
ajax
option doesn't support HTML structured data.Allan
Hi,
Hi,
1) The checkbox only appear to the first page. Needs to appear to the entire table.
2) Because of the above the the clear button only clears the visible page only.
at
http://live.datatables.net/poxiduhu/1/edit
or
Will only select the elements in the document. You need to use:
Allan
Hi,
1) The checkbox only appear to the first page. Needs to appear to the entire table.
http://live.datatables.net/poxiduhu/1/edit
Your test case doesn't work as you have numerous errors. You need to provide a working test case.
Hi,
http://live.datatables.net/fuwukaja/1/edit
The problem is
1) The checkbox only appear to the first page. Needs to appear to the entire table.
Any solution ?
Use
columns.render
to build the checkboxes for each row. Use the technique Allan suggested to uncheck all checkboxes. See the updated example:http://live.datatables.net/fuwukaja/2/edit
Kevin
Hi,
Any help for the following
1) The custom search for age column by a custom search input NOT WORKING
at
http://live.datatables.net/fuwukaja/3/edit
You are getting this error in the browser's console:
One option is to move the event handler inside the document.ready() function so it is in the same scope as the
var table = ..
assignment. Or you can get an instance of the API like this:http://live.datatables.net/fuwukaja/5/edit
Also note the age column index is
4
not3
. This is fixed in the updated example.Kevin
Hi,
Cheers & Thanks.
Any help for the following
1) The clear custom search for age NOT WORKING
at
You are clearing the global search. You need to clear the column search, like this:
See the updated example:
http://live.datatables.net/fuwukaja/7/edit
Kevin
Hi,
Thanks & Cheers.
Any help for the following
1) The clear custom Range search for age NOT WORKING
at
http://live.datatables.net/yixoxede/13/edit
You are getting these two errors in the browser's console when clicking the clear button:
You have this button:
But you don't have the
ClearFilters()
function that is being called. This is not a Datatables function. You will need to refer to the docs and support for the Range Slider library for help with that library.Kevin
Hi,
Thanks & Cheers.
(no third party libraries just jquery)
Any help for the following
1) The clear custom Range search for age NOT WORKING
at
http://live.datatables.net/nufuqona/1/edit
As Kevin has already explained to you, you are calling a "ClearFilters" function which does not exist.
Hi,
Is there a way to refresh and reload the html table with a button click ?
When you say reload, are you getting the data from Ajax or just in the DOM. If just in the DOM, you can call
destroy()
and then reinitialise the table; if Ajax, you can callajax.reload()
,Colin