Project

General

Profile

Support #8035

WTreeTable does not render the expansion '+' buttons

Added by Kamiel Fokkink 6 months ago. Updated 30 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/08/2021
Due date:
% Done:

0%

Estimated time:

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

tree_table_example.png (314 KB) tree_table_example.png Kamiel Fokkink, 02/08/2021 08:14 PM
#1

Updated by Wim Dumon 6 months 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.

#2

Updated by Kamiel Fokkink 6 months ago

Thanks a lot! This was indeed the problem!

#3

Updated by Roel Standaert 30 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF