MDBTableEditor Cannot display data from state


Topic: MDBTableEditor Cannot display data from state

karluk pro premium priority asked 6 months ago

Expected behavior

Actual behavior

Resources (screenshots, code snippets etc.)


Bartosz Cylwik staff answered 6 months 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!


karluk pro premium priority answered 6 months 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 6 months 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


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
  • User: Pro
  • 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