[starting from version: 2.4]
It is triggered after grid rendering.
The aftergriddraw
event will be triggered as many times as the grid is redrawn. Grid rendering can occur several times depending on the amount of data to be shown.
Before the grid rendering, the beforegriddraw event is triggered.
1) How to use aftergriddraw
:
pivot.on('aftergriddraw', function (e) {
if (e.smooth == false)
console.log('After grid draw with row/column scroll!');
else
console.log('After grid draw with pixel scroll!');
});
Open the example on JSFiddle.
2) How to use aftergriddraw
for customizing cells based on the conditional formatting: live demo.