Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Update table using sAjaxSource


Project:DataTables
Version:1.4.0-beta-7
Component:Code
Category:feature request
Priority:normal
Assigned:nick43
Status:active
Description

Hello.
I've created table:

$(document).ready(function() {
$('#resultTable').dataTable({
"bProcessing": true,
"sAjaxSource":'/reports'
}
);
} );

After that I want update this table. How can I do this using Ajax?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#1

Hi,

Adding new data, after the table has been initialised is done through the fnAddData() API function - see http://www.sprymedia.co.uk/dataTables-1.4/example_add_row.html

DataTable's won't make the second Ajax call for you, but it will accept an array passed to it from whatever source you want to give it (just use $.ajax() to get your data).

Hope this helps.
Allan

#2

Thanks.
It helped me.

#3

Thank you very much for this information.
Good post thanks for sharing.
I like this site ;)
-----------
çerçeve çerçeve
fizik tedavi fizik tedavi
web tasarım web tasarım
mirc mırc
sohbet sohbet odaları
sohbet odaları
snake
-----------

#5

iPad Video Converter is then designed for iPad fans to convert videos to iPad. This special ipad video converter can convert all video formats to iPad compatible formats. ipad converter| DVD to ipad| ipad to Mac transfer| ipad to computer transfer| ipad transfer| ipad to epub|
iPad Converter|

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.