Raised when a row is rendered.
Namespace: MindFusion.DataViews
File: Grid.js
JavaScript Copy Code |
---|
EventDispatcher rowRendered |
The event handler method receives the following arguments:
sender
A Grid instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
A RowModifiedEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
The following code handles the rowRendered event of a Grid instance and paints the background of cells in the 6th column, whose value is more than 2000, in light orange:
JavaScript Copy Code |
---|
grid.rowRendered.addEventListener(function (sender, args) if (value > 2000) |