sDom leads to script error

sDom leads to script error

delsalsadelsalsa Posts: 17Questions: 0Answers: 0
edited May 2013 in General
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

Replies

  • delsalsadelsalsa Posts: 17Questions: 0Answers: 0
    Oh, forgot to say, this error happens only if I use server-side scripting...
  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin
    Please link to a test case: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read .

    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
  • delsalsadelsalsa Posts: 17Questions: 0Answers: 0
    thx, that helped. I saw, there is no more donation button. How can I get u some money for your great effort? Would I use Support button?
  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin
    Good to hear that helped. DataTables 1.10 won't have this issue as the code has been cleaned up in that area.

    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
This discussion has been closed.