I have set up a SfGrid component that takes a large number of records. When I select a row using the checkbox column I make sure to set PreventRender to true on the corresponding event handler function to ensure the grid records don't get re-rendered.
However, inside the function, I call this function to change the disabled state of the toolbar, which in turn causes the entire SfGrid component to re-render.

It is also important to note that I have set the toolbar items using the toolbar parameter.
I have tried multiple ways to ensure only the toolbar re-renders such as using the toolbar template, but everything causes the entire SfGrid component to re-render. Is there any way to target a re-render on the toolbar without rendering the entire SfGrid component?