开发者

Add custom buttons to SlickGrid?

Any easy API call开发者_运维百科s for adding custom button to SlickGrid in the header toolbar?

Also, if you could comment how do I get rows, that were filtered or selected via checkboxes via such a button and do some magic and alter data would be welcome :)


For the answer to both questions, check the slick.checkboxselectcolumn.js plugin.

You can alter the column header with the grid.updateColumnHeader(myhtml) methods, where myhtmlis some html fragment (including buttons) that you want to insert to the header.

If you want to check the selected rows, just bind to the grid.onSelectedRowsChanged() event.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜