Closed jankrnavek closed 5 months ago
Are you sure it used to work? I checked the code and I see that it will update top and bottom html when render()
method is called, but not referesh
. Looking at the code, I see comments that say that topHTML should not be refreshed in refresh()
as it might have input control with search for example, and then it would clear it. Refresh method updates nodes, I think it would be better to update topHTML and bottomHTML manually is needed after initial render
I propose we keep it like it is
I thing it woud be very usefull feature. E.g. you have sidebar with many items which number differs in time and in the topHTML you have actuall number of items.
@jankrnavek , you can easily implement this feature directly updating html inside topHTML, I do think it should be done with grid.refresh(). Thank you.
It seems there is a regression in the sidebar.
I cannot update
sidebar.topHTML
definition. The code below already worked, and now it doesn't. E.g. updating nodes still works...(w2ui 2.0.x (nightly) (12/30/2023, 11:12:53 AM)