hi is there anyway i can update my radzen datagrid without calling the statechanged ? my issue is that i have a radzendatagrid and as a child element of each column i have a chart that the user can get up by pressing the column. when i update values of the chart on a 5 min interval, it refreshes the site and therefor closes the column child chart.
I have a main page called SensorOverview, it contains a series of columns with data about the sensor. Each column contains a component that is a chart that can be viewed by pressing a button:
F5 refresh and StateHasChanged() behavior is completely different - again I'm not sure from the provided details so far where the Chart is declared in the DataGrid and how a column can be "closed". Anyway, it's always smart to move the code from templates to a separate component where internally you can call StateHasChanged() for the component itself and do not refresh complex components and/or pages.
Statechanged Re-renders the component, so if the component has child components they will be closed because their open/closed state i tied to the parent-component rendering cycle.
Example: if i have a dropdownlist(child component) that i have opened in the mainpage(parent component) and 5 min ticks in and it runs statechanged on the parent, the dropdownlist will close.
Using Datagrid is there anyway i can keep track if a component is closed ? because then i could just toggle if the child component is open or closed and then stop the parent from updating values based on a boolean value