How to trigger "No records display" event?

How to trigger "No records display" event?

antonio77antonio77 Posts: 17Questions: 0Answers: 0
edited March 2011 in General
Dear all,

when the user is using "Search all columns" field,
I want to trigger (with an external javascript function) the event "No records display".
What is the best way to make it?
thanks,

Antonio

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    There is no event for that, but what you could do is have an fnDrawCallback function which will check to see if there are any rows shown in the table (oSettings.aiDisplay.length) and if not then call whatever function you want, or trigger and event as needed.

    Allan
This discussion has been closed.