Allan Jardine
|
ab9138b773
|
Updated: Initial pass at tidying up callbacks and events in DataTables - adding _fnCallbackReg and _fnCallbackFire to provide a single point for registering and firing callbacks in a unified way. Not all callbacks yet use these methods and some callbacks need to be converted to the array method (useful for plug-in developers)
|
2011-12-25 07:52:51 +00:00 |
|
Allan Jardine
|
3f9b7430f1
|
Version up to 1.9.0.dev.2
Remove the title attribute from the 2 button pagination - its totally redundant now
|
2011-12-20 14:48:27 +00:00 |
|
Allan Jardine
|
089797b3c3
|
DataTables 1.9 beta 1 :-)
|
2011-12-15 16:52:01 +00:00 |
|
Allan Jardine
|
fbc0877c94
|
@file attribute for JSDoc to version the documentation
|
2011-12-15 14:26:23 +00:00 |
|
Allan Jardine
|
82e52fdce1
|
JSDoc comment updates
|
2011-12-15 14:05:52 +00:00 |
|
Allan Jardine
|
771df2ac2d
|
Updates for documentation - document oApi as required
|
2011-12-15 13:54:23 +00:00 |
|
Allan Jardine
|
6d0d1100f2
|
Update documentation for column defaults name change
|
2011-12-15 12:43:26 +00:00 |
|
Allan Jardine
|
65f34e23f3
|
Apply default column options - the column defaults weren't actually being included, nevermind applied. Now put them in DataTable.defaults.columns and have them work!
|
2011-12-15 12:38:08 +00:00 |
|
Allan Jardine
|
e1d860205b
|
Change the defaults object from attaching to DataTable.models to just the top level DataTable as DataTable.defaults - makes it much easier to access it when trying to set a default.
|
2011-12-14 16:22:58 +00:00 |
|
Allan Jardine
|
356579f311
|
Documentation - note that DataTable is not a global object, but give variables for how it can be accessed
|
2011-12-14 15:08:42 +00:00 |
|
Allan Jardine
|
27488c4093
|
Tidy up use of typeof and undefined in DataTables - the main goal is to reduce code size under 70K here, but its a good opertunity to get this area sorted out. Note that the unit test update for fnInitComplete is because 'json' is now always passed through, although it will be undefined in anything but Ajax sourced client-side processing.
|
2011-12-14 13:35:49 +00:00 |
|
Allan Jardine
|
4e8f0fadd9
|
_fnArrayCmp is not used anywhere these days - ditch it
|
2011-12-12 09:38:34 +00:00 |
|
Allan Jardine
|
d7d3aeddea
|
Fixes from JSHint and JSHint configuration. Note that I'm using a slightly modified JSHint to remove checking of mixed spaces/tabs and trailing white space due to issue 21 against JSHint (https://github.com/jshint/jshint/issues/21) - specifically it objects to my comment styling for the JSDoc comments, which I've got _everywhere_!
|
2011-12-12 07:43:54 +00:00 |
|
Allan Jardine
|
d9e02ab5c8
|
Pull the Ajax functions into their own file
|
2011-12-11 08:44:28 +00:00 |
|
Allan Jardine
|
224b3b0661
|
Documentation changes, suggested by Michael Mathews (author of JSDoc). Generated documentation for DataTables should now be more or less complete.
|
2011-12-09 08:33:45 +00:00 |
|
Allan Jardine
|
66a2e3d659
|
Experiment with tabindex on the sorting headers and the pagination buttons. More to follow...
|
2011-12-07 10:24:03 +00:00 |
|
Allan Jardine
|
d210865c83
|
Correct link for initialisation options
|
2011-12-06 18:08:13 +00:00 |
|
Allan Jardine
|
bfd625350c
|
One thing that has bugged me a little since I first wrote DataTables was that for some mental reason I picked $.fn.dataTable rather than $.fn.DataTable as the jQuery access function. This commit now allows either approach.
|
2011-12-06 18:04:57 +00:00 |
|
Allan Jardine
|
d8132799f7
|
Update internal variable names - rather than using the local private variables _aoSettings and _oExt, these are now attached to the DataTable object as static parameters. Cleaner and will document easier as well.
|
2011-12-06 18:03:29 +00:00 |
|
Allan Jardine
|
bccc85ef9f
|
New: For plug-in authors, the internal function _fnApplyColumnDefs has been created and made available to make it much easier to present aoColumns and aoColumnDefs options for plug-ins (the names of the parameters can be whatever you want). Basically the function will take each of the two arrays (or null if not available) and figure out what definations should be applied to what columns - and then callback to a function that will apply the configuration (specific to the plug-in). This is now also used for the DataTables aoColumns and aoColumnDefs.
|
2011-12-06 16:05:53 +00:00 |
|
Allan Jardine
|
2928326042
|
Tidy up the initialisation code a bit for creating the settings object and integrate the language compatibility fully
|
2011-12-05 16:36:20 +00:00 |
|
Allan Jardine
|
6a7a7151b8
|
Alter the extending of the initialisation parameter with the defaults a little such that objects are deep copied and arrays are not (code needs tidied a little - want to get it passing all unit tests first). The thing here is that we can't use jQuery's $.extend for a full deep copy since we don't want to deep copy arrays (for example aaSorting, where the default sort would always be applied), but we do want to deep copy objects (and not just take a reference to the default object). Thus we can't use $.extend :-(.
|
2011-12-05 09:21:20 +00:00 |
|
Allan Jardine
|
ee47cb7518
|
Add and document the extension object for DataTables. The extension object (ext) allows plug-ins to be added to DataTables (and is also used for this internally as well).
|
2011-12-03 09:36:19 +00:00 |
|
Allan Jardine
|
e5b826c434
|
Rearrange the 'ext' option and make the base object a model so it can be readily documented. More documentation required for the model to explain what each of the options does
|
2011-12-02 07:22:57 +00:00 |
|
Allan Jardine
|
b53de6fc77
|
This is very certainly 1.9.0.dev now!
|
2011-12-01 19:56:58 +00:00 |
|
Allan Jardine
|
5c67be62ae
|
Use the oSearch model for the default initialisation and column initialisation
|
2011-11-27 18:51:56 +00:00 |
|
Allan Jardine
|
3ddd89b52e
|
Add JSDoc comments for the DataTables settings object
|
2011-11-27 17:50:06 +00:00 |
|
Allan Jardine
|
4853e868d4
|
Add detailed JSDoc comments for the initialisation options for DataTables
|
2011-11-25 16:34:31 +00:00 |
|
Allan Jardine
|
626492b81c
|
Big change to how DataTables constructed in the file system - breaking the various parts of DataTables seperate files. This is probably the biggest individual change to DataTables since it was first written, but the code itself is more or less the same - just split out into different files. The one big change to the code thus far is to change the function classSettings into an object that is extended. More work is required on this to complete the alteration, but for now DataTables is building into the same workable form as before using the new make.sh file.
|
2011-11-24 14:05:22 +00:00 |
|