notFoundText : stringDefault: "No records found."

The text that is going to be displayed if the grid is empty.

Examples

sample

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: { url: '/Players/Get', data: { name: 'not existing name' } },
         notFoundText: 'No records found custom message',
         columns: [ { field: 'ID' }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
 </script>

  

localization

    
 <table id="grid"></table>
 <script src="/Areas/Development/dist/modular/grid/js/messages/messages.de-de.js"></script>
 <script>
     $('#grid').grid({
         dataSource: { url: '/Players/Get', data: { name: 'not existing name' } },
         locale: 'de-de',
         columns: [ { field: 'ID' }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
 </script>