Datatable Search,sorting and pagination not working

web
mobile

Topic: Datatable Search,sorting and pagination not working

priyabrata pro premium asked 2 months ago

*_Expected behavior - While loading the page, where one data table is there, it should show the table with default pagination, search and sorting behavior, but its nothing among these are working*_

*_Actual behavior - I am rendering the datatable where datas are binded with angularjs $scope variable,and while redering the table, the pagination, sorting and searching features are not working*_

*_Resources (screenshots, code snippets etc.)enter image description hereenter image description here*_


Mateusz Łubianka staff commented 2 months ago

Hi @priyabrata,

Do you have any errors in your console? Which example do you use? I this one? https://mdbootstrap.com/docs/jquery/tables/datatables/#material-design-example Do you use MDB Angular or jQuery?

Best,


priyabrata pro premium commented 2 months ago

no i don't see any error in console. yes i am using mdb jquery version


Mateusz Łubianka staff commented 2 months ago

Did you import css and js for datatables? https://mdbootstrap.com/docs/jquery/tables/datatables/ - getting started tab. If it will still not work, please include code snippet.


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: jQuery
  • MDB Version: 4.12.0
  • Device: laptop
  • Browser: Google Chorme
  • OS: Widows
  • Provided sample code: No
  • Provided link: No