I simply want a message displayed on the page, with no table headers, if there are no records to display.
Is there a way to achieve this with jtable via an option, may be?
I simply want a message displayed on the page, with no table headers, if there are no records to display.
Is there a way to achieve this with jtable via an option, may be?
@oderayi I don't think so that there is an option in jTable api to hide table headers when you have 0 records from the database.
If I were you I would execute $("#myJTable .jtable-column-header).hide() on ajax success callback like this: