Topic: MDBTableEditor Cannot display data from state
karluk priority asked 1 year ago
Expected behavior
Actual behavior
Resources (screenshots, code snippets etc.)
karluk priority answered 1 year ago
I checked all of them, and I don't find my answers. even add btns to rows with click event, not easy at all. I think you are over price it. I couldn't find any proper example as well.
please check your example for add btns to datatable rows ==> https://mdbootstrap.com/docs/vue/data/datatables/#section-action-buttons. why not add click event directly such as @click= ????
Thank you,
Bartosz Cylwik staff commented 1 year ago
We have to provide custom content to datatable component by adding an html template as a string. Vue-specific solutions cannot be applied there due to differences of Vue's templates and JavaScript's template literals
What answers were you looking for? Feel free to ask, and we'll do our best to help you
Bartosz Cylwik staff answered 1 year ago
Hello! Checkout this example to see how to provide data to the MDBTableEditor
component from state (refs) (skip the mode="modal
prop if not needed):
https://mdbootstrap.com/docs/vue/plugins/table-editor/#section-modal
If you still have problems with displaying data from state, please leave us more info about the issue. You can also provide some code snippet here, so we could check what may be the problem.
Best Regards!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 4.1.1
- Device: any
- Browser: any
- OS: any
- Provided sample code: No
- Provided link: No