Home > Software design >  How to implement the search in the DataTable (Web Application Development Tutorial)
How to implement the search in the DataTable (Web Application Development Tutorial)

Time:10-01

I'm absolutely new to the ABP-Framework. I've followed the "Web Application Development Tutorial". Now I want to use the search in the DataTable. In the file "Index.js" I've set the "search" to "true" but nothings happens.

var dataTable = $('#WordsTable').DataTable(
   abp.libs.datatables.normalizeConfiguration({
   serverSide: true,
   paging: true,
   order: [[1, "asc"]],
   searching: true,
   scrollX: true,
   ...

How can the search be implemented?
Regards, Tom

CodePudding user response:

If you set searching:true for your datatable it only searches through current page values by row. (enter image description here

  • Related