Support #8035
closedWTreeTable does not render the expansion '+' buttons
0%
Description
Hello,
I am trying to implement a Tree Table, with several data nested hierarchically. I have copied the exact code from the widget gallery and the reference manual for tree tables (with my own labels and data inside nodes). However, in the browser it does not render the + buttons to expand the nodes. It only shows the static labels of the root node, and one nested level.
How can I get these + buttons as shown in the examples for tree tables, so as to access lower levels of the tree?
Any help or insight is appreciated.
Thanks!
Files
Updated by Wim Dumon about 3 years ago
- Status changed from New to Resolved
Hello Kamiel,
That is probably because you did not deploy the 'resources' folder. The folder named 'resources' is included in every Wt release, and contains css files, images, ... required by Wt applications in order to be properly rendered. If you make your own application, you must copy that folder in the docroot folder of your application. In your browser development console, as well as on the server logs, you will see 404 errors for the missing files.
Wim.
Updated by Kamiel Fokkink about 3 years ago
Thanks a lot! This was indeed the problem!
Updated by Roel Standaert almost 3 years ago
- Status changed from Resolved to Closed