Allan Jardine
9e3a51200a
Examples: Server-side processing - updates to the SSP class to have a
...
simple() static method which makes it very easy to make a server-side
processing request.
- In the examples the SQL statements are all basically the same, so
having this method to wrap them into a single function cal absolutely
makes sense.
- Also added a `formatter` option to the columns array which will format
the data as needed using a closure function.
2013-12-11 12:04:58 +00:00
Allan Jardine
da8358ce48
Updated: Update examples and documentation for the change in committed
...
in cdc6399 to make naming more consistent
2013-11-12 19:18:51 +00:00
Allan Jardine
7bec74c02f
New - examples: Examples updated and restyled for DataTables 1.10
...
- Additional information and better layout for examples. See the src
repo for more information.
2013-10-16 12:13:30 +01:00
Allan Jardine
4e5cad9640
Size: The default formatNumber method has been reduced in size.
...
- Exactly the same functionality, but now uses a regex to perform the
same operation
2013-09-23 11:44:58 +01:00
Allan Jardine
86cc702539
Fix:Server-side scripts security flaw - The example server-side scripts
...
had an injection vunrebility where paging and sorting could be exploited
- 13314. DataTables 1.9.4 has been reissued with these fixes.
2012-12-21 09:33:41 +00:00
Allan Jardine
dc3f9b148e
Fix - examples: Security updates to the server-side processing demo scripts from Chris Wright - specifically no MySQL error strings are shown to the end user.
2012-06-12 10:44:10 +01:00
Allan Jardine
09a9755540
Fix - examples: The global filter in the example PHP scripts wasn't taking into account the bSearchable_{i} flag - it was only being checked on individual column filtering - 8949
2012-04-20 08:14:48 +01:00
Allan Jardine
fbab63b7b5
Removed: Column reordering example using sName - it is much better to use mDataProp for this kind of thing now and column reordering is depricated in the 1.9 release of DataTables, so remove the example showing how it might be done to stop new users using it.
2012-01-21 07:43:47 +00:00
Allan Jardine
8795d97194
Fix: Add field quotes (`) to the main server-side processing script. For most cases this will make no difference, but some columns might have a special character in them (- for example) and need this quoting.
2011-12-06 10:59:20 +00:00
Allan Jardine
7e9d5eb537
Examples: Add JSONP examples for the 'id's and 'objects' sever-side scripts. Might make all JSONP compatible at some point...
2011-09-30 19:42:09 +01:00
Allan Jardine
0d94f1af0c
Update: For objects, consider mDataProp which is sent from DataTables for sorting and filtering to get the correct order of the rows. This is useful for ColReorder and more generally it increases the flexability of the whole table
2011-06-25 08:34:54 +01:00
Allan Jardine
bb26e08b4e
Examples fix: Details table has one extra column in it at the start, so this needs to be taken into account when sorting - 5422
2011-06-21 06:48:21 +01:00
Allan Jardine
a9b9dc4ffe
New: New examples for the various features of DataTables 1.8
2011-04-25 19:07:57 +01:00
Allan Jardine
d419c4ef66
New: JSONP example to show how it might be done - 4746
2011-04-23 07:00:25 +01:00
Allan Jardine
2d0aff2b39
New: The ability to customise the property that is read when obtaining Ajax information from the server, for the data to insert into the table. The new initailisation parameter is sAjaxDataProp. It can be used with Ajax sourced data or server-side processing. When Ajax sourced data is used, it can be an empty string in which case it is assumed that an array has been passed into DataTables directly. Note also that it uses the same object data processor as mDataSource, so you can use dot notation to read from nested information (e.g. 'my.data').
2011-04-21 18:37:36 +01:00
Allan Jardine
f172ef5383
New: Significant change to how data is handled by DataTables. DataTables now has the ability to deal with complex objects as data sourced, which is particularly useful for dealing with Ajax data, and other data which doesn't belong in the visible table (db IDs for example). See the examples/ajax/ files that are in this commit for examples on how this works. More unit tests and further tidy up to come. Detailed examples will also be added in future - the current examples are mainly for testing
2011-04-19 19:35:33 +01:00
Allan Jardine
70305b1831
Updated: Move the various server-side example support scripts into the server_side/scripts directory
2011-04-17 10:54:14 +01:00