https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× This is the optional Forum header for the Suggestion Box.

How to hide empty tables

  • paulsonnentor
  • paulsonnentor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 6 months ago #443

Currently my page shows four tables.
Sometimes "No records found." is shown for some tables.
Is it possible to hide / disable a table which does not contain records?

Thank you!

brgs
Paul

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #446

Hi,

yes. Try to add this statement in \components\com_grid\layouts\GridView.php (in line 14, first statement in build function):

if ($this->rows ==0) return "";

Best regards,
Viljem

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.139 seconds

Contact Us

Contact us on Discord

Contact us on Facebook