DataTable: Hide the Show Entries dropdown but keep the Search box

后端 未结 13 1438
再見小時候
再見小時候 2021-01-29 23:55

Is it possible to hide the Show Entries dropdown but keep the Search box in DataTable? I want to always display 10 rows with pagination at the bottom along with search box but d

13条回答
  •  别那么骄傲
    2021-01-30 00:13

    "searching": false,   // Search Box will Be Disabled
    
    "ordering": false,    // Ordering (Sorting on Each Column)will Be Disabled
    
    "info": true,         // Will show "1 to n of n entries" Text at bottom
    
    "lengthChange": false // Will Disabled Record number per page
    

提交回复
热议问题