WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-5916e1-1ff.MAI' (Errcode: 28 "No space left on device")]SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 108180 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC
Topic: MDBDatatable Dynamic Data Links
kalmservices
pro premium asked 6 years ago
Expected behavior Passing a JSON object with string values into the table data, the HTML would be parsed out into a link.
Actual behavior The literal string is being put into the column data, this is how it works within traditional datatables, so I'm looking for a solution to do this here. The data is all provided from an API which provides the json object asynchronously after page load, and the JSON object will not always look the same, so I need to code with the expectation that the table can handle the json object for columns an the json object for the rows.
Resources (screenshots, code snippets etc.)

FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB React
- MDB Version: 4.26.0
- Device: Desktop
- Browser: Chrome
- OS: Windows 8
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 6 years ago
do you have data from API to show to test it?
kalmservices pro premium commented 6 years ago
{"columns":[{"field":"DETAIL","label":""},{"field":"FULLNAME","label":"Name"},{"field":"PROMOTIONALIAS","label":"Promotion"},{"field":"VENDORTYPES","label":"Type"},{"field":"CONTACT","label":"Primary Contact"},{"field":"WEBADDRESS","label":"Web Address"},{"field":"STATUS","label":"Status"}],"rows":[{"FULLNAME":"bname","PROMOTIONALIAS":null,"VENDORTYPES":"Promotion","WEBADDRESS":null,"CONTACT":null,"STATUS":"Button","DETAIL":"[]"},{"FULLNAME":"test promo 1","PROMOTIONALIAS":null,"VENDORTYPES":"Promotion","WEBADDRESS":null,"CONTACT":null,"STATUS":"Button","DETAIL":"[]"},{"FULLNAME":"wcfc csdc sc cdfc sc d","PROMOTIONALIAS":null,"VENDORTYPES":"Promotion","WEBADDRESS":null,"CONTACT":null,"STATUS":"Button","DETAIL":"[]"},{"FULLNAME":"wreewrwer","PROMOTIONALIAS":null,"VENDORTYPES":"Promotion","WEBADDRESS":null,"CONTACT":null,"STATUS":"Button","DETAIL":"[]"}]}
kalmservices pro premium commented 6 years ago
Previous comment is the json being passed back, this is the react component I'm passing that into:
Piotr Glejzer staff commented 6 years ago
I will try to test it and resolve this problem.
kalmservices pro premium commented 5 years ago
So we have premium support, and I asked this question 3 months ago and never received an answer. Did anyone ever look into this issue?