how to detect 0 selected rows in tabletools when no rows selected ?

how to detect 0 selected rows in tabletools when no rows selected ?

drmovidrmovi Posts: 7Questions: 0Answers: 0
edited December 2012 in General
hi
if you don't select rows in tabletools when you click copy all rows are copied , i want to display alet msg that no row selected to copy
how could i do that ?

Replies

  • allanallan Posts: 63,531Questions: 1Answers: 10,475 Site admin
    You'd need to alter the fnClick method of the `copy` button to do that - there isn't a built in way of doing it. However it should simply be a case of checking for fnGetSelectedData().length and then altering the message as you need.

    Allan
This discussion has been closed.