Topic: Editable Table Plugin: How to disable pagination, search and ordering

sjam free asked 4 years ago


Please, can you instruct me on how to disable table pagination, search (filtering) and ordering (sorting) in Bootstrap table editable plugin (mdbootstrap.com/plugins/jquery/table-editor/)?

I'm using the following code to initialize the table editor and with this, all the controls I mentioned are active.

$('#myTable').mdbEditor({ 
    modalEditor: true 
});

With basic DataTable, I can achieve this with...

$('#dtBasicExample').DataTable({
    "paging": false,
    "searching": false,
    "ordering": false
  });

...but is there something similar for mdbEditor?


Marcin Luczak staff answered 4 years ago


Hi sjam,

Table Editor plugin is designed to use more advanced functionality than basic DataTable or Table Editable, thus all the controls are bound to this component. If you only need the table to be editable but not to contain all additional functions you can use the Table Editable component: https://mdbootstrap.com/docs/jquery/tables/editable/

Regards, Marcin



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No