[Gambas-user] Webform and TreeView

Benoît Minisini g4mba5 at gmail.com
Wed Sep 25 13:02:47 CEST 2019


Le 25/09/2019 à 12:43, Rolf-Werner Eilert a écrit :
> There is no TreeView for Webforms.
> 
> In the original Gambas app I want to mimic here, a TreeView is a 
> substantial part of the program. It resembles this Explorer like view 
> with a TreeView on the left and data on the right. The TreeView  has 4 
> levels:
> 
> Root1
>    Year1
>    Year2
>      Filter1
>      Filter2
>        Name1
>        Name2
>        Name3
>      Filter3
>    Year3
> 
> Root2
> 
> I do not feel like building a complete TreeView for HTML myself. How 
> would you implement this for web use? My first thought was using a list, 
> but there is no ListView either.
> 
> So... a TableView as a list, and doubleclick to dive into a branch, the 
> program adding the necessary items at that position to "open" the branch?
> 
> Or do have a simpler idea?
> 
> Regards
> Rolf
> 

Yep, it's one of the controls to implement. The difficulty is chosing 
between loading the entire treeview contents in the browser, or only the 
visible items...

Regards,

-- 
Benoît Minisini


More information about the User mailing list