Render the grid only as needed ("partial render").
Remarks
Paints all the cells of a grid, one column at a time, but only as needed.
Partial render is supported only by those cells whose cell renderer supports it by returning before rendering (based on config.snapshot).
On the next call (after reset)
Each cell is drawn redrawn only when its appearance changes. This determination is made by the cell renderer by comparing with (and maintaining) config.snapshot. See XXX for a sample implementation.
try...catch surrounds each cell paint in case a cell renderer throws an error.
The error message is error-logged to console AND displayed in cell.
On subsequent calls
Iterates through each cell, calling _paintCell with undefined prefill color. This signifies partial render to the XXX cell renderer, which only renders the cell when it's text, font, or colors have changed.
Render the grid only as needed ("partial render").
Remarks
Paints all the cells of a grid, one column at a time, but only as needed.
Partial render is supported only by those cells whose cell renderer supports it by returning before rendering (based on
config.snapshot
).On the next call (after reset)
Each cell is drawn redrawn only when its appearance changes. This determination is made by the cell renderer by comparing with (and maintaining)
config.snapshot
. See XXX for a sample implementation.try...catch
surrounds each cell paint in case a cell renderer throws an error. The error message is error-logged to console AND displayed in cell.On subsequent calls
Iterates through each cell, calling
_paintCell
withundefined
prefill color. This signifies partial render to the XXX cell renderer, which only renders the cell when it's text, font, or colors have changed.