Hello,
We use Stimulsoft Dashboard.Web, integrated in an Asp.Net MVC application.
We are trying to use the Treeview component filter but are a bit confused with the behaviour.
We have a Treeview, and we use an explicit refresh for the dashboard with a Button.
We have configured the Treeview to allow only one selection, and the selected item is just "emphasized" when selected, no checkbox. After a refresh, the selected element is lost and the treeview is closed.
It "kinda" works better with a multiselection : the selected checkboxes are still checked after a refresh, but the treeview is still closed.
We would like the following behaviour :
- Only one item can be selected and a checkbox is visible for the selected item
- We want the selected item to be "saved" between refreshes, and visible in the treeview when single selection is configured
- We want the treeview to stay "open" between refreshes
How can we achieve that ?
Thanks in advance for the answers !
Mike
Treeview filter behaviour
-
Lech Kulikowski
- Posts: 7800
- Joined: Tue Mar 20, 2018 5:34 am
Re: Treeview filter behaviour
Hello,
> After a refresh, the selected element is lost and the treeview is closed.
Sorry, maybe we did not exactly understand your issue.
But after the refresh, the dashboard should be refreshed to its initial state.
Thank you.
> After a refresh, the selected element is lost and the treeview is closed.
Sorry, maybe we did not exactly understand your issue.
But after the refresh, the dashboard should be refreshed to its initial state.
Thank you.
Re: Treeview filter behaviour
Thanks for your answer.Lech Kulikowski wrote: ↑Wed Jun 17, 2026 8:38 pm Hello,
> After a refresh, the selected element is lost and the treeview is closed.
Sorry, maybe we did not exactly understand your issue.
But after the refresh, the dashboard should be refreshed to its initial state.
Thank you.
The issue is (i'll try to be clear) :
- On a dropdown, we can identify the selected items because there is a "box" that is selected for each item. No matter if the dropdown is configured to be "single selection" or "multiple selection". After a dashboard refresh, the items are still selected.
- On a treeview (or a treeview list) configured with "single selection", there is no box that is selected, the item is somewhat highlighted. After a dashboard refresh, the selection is lost, no items are highlighted. When configured with "multiple selection", checkboxes are used, and the selection is not lost between refreshes. The issue is when the treeview (or treeview list) is configured "single selection).
Is there a way to configure a treeview (or treeview list) with single selection, and still have the checkboxes instead of the highlight on the selected item ? Or any other way to not loose the selected item ?
Thanks in advance.
Mike
-
Lech Kulikowski
- Posts: 7800
- Joined: Tue Mar 20, 2018 5:34 am
Re: Treeview filter behaviour
Hello,
Please send us a sample that reproduces the issue for analysis.
Thank you.
Please send us a sample that reproduces the issue for analysis.
Thank you.