Topic: DataTable2 Other JSON structures (MDB example )
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)
Magdalena Dembna staff premium answered 4 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
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 Vue
- MDB Version: 6.7.1
- Device: Desktop
- Browser: Chrome
- OS: Win
- Provided sample code: No
- Provided link: Yes