fnRowCallback error

fnRowCallback error

droartydroarty Posts: 6Questions: 0Answers: 0
edited June 2009 in Bug reports
This isn't technically a bug... but as a convenience to those of us who keep forgetting to return nRow in our fnRowCallback, could you provide an exception...

What happens is it chokes quietly and causes firebug to behave very oddly (could be my set up) but I found it very difficult to debug this error. And I am embarrased to say that this is the second time I have gone through this.

Thanks for the great work.

Replies

  • allanallan Posts: 61,642Questions: 1Answers: 10,092 Site admin
    Hi droarty,

    Sounds like a very good idea to me! I've done this a couple of times myself...

    I've added a check for a returned row now, and if it is not present then an alert() will be fired. Only one alert() for each draw, rather than one for each row, which can get a bit annoying :-)

    I'll be releasing this in the next 1.5 beta release.

    Regards,
    Allan
This discussion has been closed.