From 80c7663851812dc8c402c47df8670a0df171b42f Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Sat, 23 Apr 2011 07:00:10 +0100 Subject: [PATCH] Dev fix: Correct typo --- examples/server_side/defer_loading.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server_side/defer_loading.html b/examples/server_side/defer_loading.html index f1374fa5..0f537885 100644 --- a/examples/server_side/defer_loading.html +++ b/examples/server_side/defer_loading.html @@ -29,7 +29,7 @@

Preamble

-

When using DataTables with server-side processing the default behaviour is to have DataTables automatically go the server and load the data, removing anything which might already be on the page. However, this behaviour might not always be desirable when the first page of the table has already been preloaded in the HTML. This is achieved by using the iDeferLoading initialisation property. It serves two purposes, firstly to include that defered loading is required, but also to tell DataTables how many records there are in the full table, in this case 57 (this allows the information element and pagination to be displayed correctly).

+

When using DataTables with server-side processing the default behaviour is to have DataTables automatically go the server and load the data, removing anything which might already be on the page. However, this behaviour might not always be desirable when the first page of the table has already been preloaded in the HTML. This is achieved by using the iDeferLoading initialisation property. It serves two purposes, firstly to include that deferred loading is required, but also to tell DataTables how many records there are in the full table, in this case 57 (this allows the information element and pagination to be displayed correctly).

In this example the preloaded data is hardcoded in, but you could use a PHP include or anything else to put the data in the table for the first page - DataTables won't process it at all, simply display it and be ready to load the next page / search / sort etc.