Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Table Editor and scrolling

cihsoft free asked 6 years ago


It seems that when you add scrolling options to a table editor plugin table, the ability to edit the row inline or a modal stops working.

I simply added the following code to the tableRowEditor.html and modalEditor.html $('#dtBasicExample').DataTable({ 'scrollY':'200px', 'paging': false, 'searching': false, 'ordering': false })

Everything works as expected until I add the scrollY line.

Any help would be appreciated.


Piotr Glejzer staff answered 6 years ago


Hi, There is a problem with our plugin but if you will change one variable manually in mdb-ediotr.js It will be working.
You have to find variable $selectedTableId and change for that $selectedTable.closest('.wrapper-modal-editor').find('table tbody').parent().attr('id');.

Best,
Piotr


cihsoft free commented 6 years ago

Thank you very much Piotr. That fixed the issue.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

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