Plugins

timothyswt edited this page Dec 14, 2012 · 3 revisions

Plugins have a single method "onGridInit" which has a single parameter which is the grid object

ko-grid.js

//initialize plugins.
$.each(grid.config.plugins, function (i, p) {
    if (typeof p.onGridInit === 'function')
        p.onGridInit(grid);
});

see grid.js or Existing Plugins for more details