Create a printable view of a SlickGird as a simple a HTML table.
Note: this plugin is still pre-alpha.
var printPlugin = new Slick.Plugins.Print();
grid = new Slick.Grid("#grid", data, columns, options);
grid.registerPlugin(printPlugin);
$('.btn-print').on('click', function () {
var strWindowFeatures = "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes";
printPlugin.printToWindow(window.open('/print-grid.html', 'print_window', strWindowFeatures));
});
MIT