Project

General

Profile

Actions

Support #8035

closed

WTreeTable does not render the expansion '+' buttons

Added by Kamiel Fokkink about 3 years ago. Updated almost 3 years 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
Actions #1

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.

Actions #2

Updated by Kamiel Fokkink about 3 years ago

Thanks a lot! This was indeed the problem!

Actions #3

Updated by Roel Standaert almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF