Topic: table editor & datatable ajax

zhangatjlu pro asked 5 years ago


About table editor:
would you like to give an example that table editor works with datatable ajax and columnsDefs: {targets:[0], visible: false}

Expected behavior
Editor with modal can add/edit one row and invisible column not showed in modal.

Actual behavior

Resources (screenshots, code snippets etc.)
$('#dtBasicExample').DataTable({
ajax:url,
columns:[
{"data":"year"},
{"data":"name"},],
columnDefs:
[{targets:[0],visible:false}],
});


Piotr Glejzer staff commented 5 years ago

do you have some console errors about that problem?



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.0
  • Device: PC
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No