DataTables 1.5 beta 11 released
DataTables 1.5 beta 11 released
Hello all,
With what is hopefully the final release before DataTables 1.5.0 goes final, I've just released DataTables 1.5 beta 11. This includes a number of bug fixes which are the result of my work on a suite of unit tests for DataTables. I'm delighted to say that these unit tests are now complete (minus an odd issue with sorting in Opera...), and it passes 1300+ tests in each of IE, Safari, Firefox and Chrome. This work is to make sure that DataTables is as reliable as possible for production use. :-)
So the next step is to update my documentation, and then I think it will be good to go. Please do continue testing these beta releases (it's now very stable!) and shout if you find anything odd happening.
You can download it here:
http://datatables.net/releases/dataTables-1.5.beta.11.zip
Full release notes:
http://datatables.net/download
Enjoy!
Allan
With what is hopefully the final release before DataTables 1.5.0 goes final, I've just released DataTables 1.5 beta 11. This includes a number of bug fixes which are the result of my work on a suite of unit tests for DataTables. I'm delighted to say that these unit tests are now complete (minus an odd issue with sorting in Opera...), and it passes 1300+ tests in each of IE, Safari, Firefox and Chrome. This work is to make sure that DataTables is as reliable as possible for production use. :-)
So the next step is to update my documentation, and then I think it will be good to go. Please do continue testing these beta releases (it's now very stable!) and shout if you find anything odd happening.
You can download it here:
http://datatables.net/releases/dataTables-1.5.beta.11.zip
Full release notes:
http://datatables.net/download
Enjoy!
Allan
This discussion has been closed.
Replies
Andy
Niels
Interesting - I suspect I might know what the issue is with the esc button. Run into that in some of my other software with Safari 4 (they rejigged the key events). To confirm, is it Safari 4 you are using?
Regards,
Allan
Yes I'm currently running 4.0.2 of Safari.
Niels
I've just released 1.0.3 of TableTools ( http://datatables.net/releases/TableTools.1.0.3.zip ) which should do the trick for you.
Regards,
Allan
I don't know if it is a bug or intended behavior...
Line 513 (below) assumes that sData is a string... I have been passing my data into the dataTables function and have included integers in past versions. Let me know if you want to accomodate numerical data or if I should ensure that the data passed into aaData is all strings.
Thanks.
Denis
_oExt.aTypes = [
499 /*
500 * Function: -
501 * Purpose: Check to see if a string is numeric
502 * Returns: string:'numeric' or null
503 * Inputs: string:sText - string to check
504 */
505 function ( sData )
506 {
507 var sValidFirstChars = "0123456789-";
508 var sValidChars = "0123456789.";
509 var Char;
510 var bDecimal = false;
511
512 /* Check for a valid first char (no period and allow negatives) */
513 Char = sData.charAt(0);
514
/* First check to see if sData is already a number */
if(typeOf(sData)=='number'){
if(sData!=Math.floor(sData)) bDecimal=true;// will this be correct for negative nums?
return 'numeric';
};
I've noticed that as well - and it's now picked up by the unit tests, so shouldn't get in again... What I've got in my development version is something very similar to what you have posted:
[code]
/* Snaity check that we are dealing with a string or quick return for a number */
if ( typeof sData == 'number' )
{
return 'numeric';
}
else if ( typeof sData.charAt != 'function' )
{
return null;
}
[/code]
Either method should do the trick nicely.
Regards,
Allan