r/JavaFX • • Jul 31 '24

Help WebView - link to "another WebView" possible?

Hi, please, is this possible or how is it done? I would like to have: an html (table) with 1 col links, they open another html (table) If that is possible with webview, what might be the link? (localhost://abc?) Or how could that be achieved?

it is not necessarily to have html, rather, several tables (that each is 1 scene) and they are linked to each other by links of each 1 column.

Thank you very much!

1 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/artistictrickster8 Aug 08 '24

!! Thank you very much!! That is a fantastic idea, with the "breadcrumbs" - stored steps, ok, shown as labels, ok! "Link" is a button, but of course! Thank you! as to the ListView: yes, reason to use a table also was, that, click onto the header cell of a columns sorts the content, by that colum? a ListView does not have columns to achieve that? Thank you :)

1

u/hamsterrage1 Aug 08 '24

One of the "drawbacks" of ListView is that there are no columns to sort, so you don't get that functionality for free. But there's nothing stopping you from putting a control at the top (a group of ToggleButtons, CheckBoxes, or a ComboBox) that can control the sort.

The question really should come down to what is the best use of the screen real estate.