nuBuilder now shows "No data to display" when there is no data in table.
And when a search brings up 'No Search Results', "No search results found" is displayed.
Also, the emtpy records are not displayed anymore. E.g. if "Rows Per Page" is set to 20 and there are just 5 rows to be displayed, the 15 empty table rows will not be rendered. This also has the advantage that the browse table is loaded faster, as no superfluous elements have to be created.
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
[Changed] Browse: No Data/No Search Results Messages
-
- Site Admin
- Posts: 2778
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
-
- Site Admin
- Posts: 2778
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
Re: [Changed] Browse: No Data/No Search Results Messages
To display a custom text/message when there is no data to be display, call nuSetBrowseNoDataMessage() in the form's Custom Code.
Likewise, to display a custom message when there are no search results, call
Code: Select all
nuSetBrowseNoDataMessage('All Tasks completed');
Likewise, to display a custom message when there are no search results, call
Code: Select all
nuSetBrowseNoSearchResultsMessage('Sorry, your search yielded no results')