开发者

Rendering a component into an ExtJS grid

开发者 https://www.devze.com 2023-01-29 17:05 出处:网络
I want to render a split button into a column in a grid to perform actions on each row. I can\'t seem to figure out how to 开发者_C百科build a custom cell renderer that will accomplish this.

I want to render a split button into a column in a grid to perform actions on each row. I can't seem to figure out how to 开发者_C百科build a custom cell renderer that will accomplish this.

Each cell will have the exact same split button, but will act on the id of the row the split button is in.


You need to setup a custom renderer for the column, have a look at this example: http://techmix.net/blog/2010/11/25/add-button-to-extjs-gridpanel-cell-using-renderer/

Rendering a component into an ExtJS grid

0

精彩评论

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