WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-129238-27.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 = 104852 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: Best way to associate data with MDBTreeviewItem
Larry White
asked 6 years ago
I'm trying to understand how the treeview is supposed to be used.
I need to use it for navigation so I need each item to be associated with a unique id, and not just the text string in the title property. The title could be the same at two different places in the tree.
It seems to me that MDBTreeviewItem should hold an object like the option in a select with both a text display and a value that could be a unique id, but I must be missing something since getValue() just returns the title. How should I do this?
Thanks very much.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.22.1
- Device: any
- Browser: any
- OS: any
- Provided sample code: No
- Provided link: No