Topic: DataTable2 Other JSON structures (MDB example )

ika free asked 3 years ago


I copy pasted youre example in snippet and in my project both are not working (Snipet link is hier https://mdbootstrap.com/snippets/vue/gmbh/2480435#html-tab-view)

*_Expected behavior_*Expected to load fetched data from api into datatable2

*_Actual behavior_*No matching records found\

*_Resources *_([https://mdbootstrap.com/snippets/vue/gmbh/2480435#html-tab-view] (https://mdbootstrap.com/snippets/vue/gmbh/2480435#html-tab-view) Some Vue Error meybe Helpful


Magdalena Dembna staff answered 3 years ago


Thank you for reporting this issue - the error is caused by initializing Datatable without any columns. I've fixed this example by predefining columns in the data object (https://mdbootstrap.com/snippets/vue/m-dembna/2480619). I'll create a task for us to look at this issue. Best regards, Magdalena


ika free commented 3 years ago

Thank you for your quick answer very nice



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 Vue
  • MDB Version: 6.7.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Win
  • Provided sample code: No
  • Provided link: Yes