Topic: Table Editor and scrolling
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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: 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