sDom leads to script error
sDom leads to script error
Hi,
if I use this definition :
[code]"sDom": "<'row-fluid table_top_bar'<'span12'<'to_hide_phone' f>>>t<'row-fluid control-group full top' <'span4 to_hide_tablet'l><'span8 pagination'p>>",[/code]
then I got in the _fnProcessingDisplay an Error -> [quote]'length' is null or not an object -> iLen=an.length [/quote]
Originalcode in dataTable.js
[code]
function _fnProcessingDisplay ( oSettings, bShow )
{
if ( oSettings.oFeatures.bProcessing )
{
var an = oSettings.aanFeatures.r;
->here it stops for ( var i=0, iLen=an.length ; i
if I use this definition :
[code]"sDom": "<'row-fluid table_top_bar'<'span12'<'to_hide_phone' f>>>t<'row-fluid control-group full top' <'span4 to_hide_tablet'l><'span8 pagination'p>>",[/code]
then I got in the _fnProcessingDisplay an Error -> [quote]'length' is null or not an object -> iLen=an.length [/quote]
Originalcode in dataTable.js
[code]
function _fnProcessingDisplay ( oSettings, bShow )
{
if ( oSettings.oFeatures.bProcessing )
{
var an = oSettings.aanFeatures.r;
->here it stops for ( var i=0, iLen=an.length ; i
This discussion has been closed.
Replies
It looks like you haven't included an r` option, but the processing indicator is still on. DataTables should probably handle this, but just disabling the processing option or add an `r` option at the moment.
Allan
If you would like to support the project, then yes the support option, or my Amazon wish list ( http://www.amazon.co.uk/gp/registry/registry.html?ie=UTF8&type=wishlist&id=AH9KDZHNGFSG ) :-).
I'll be adding a donate style method back to the web-site along with the v1.10 release.
Regards,
Allan