I'm very new with ExtJS.
Does any one know how to add button to each row of grid in ExtJS?
Please give me some example.
Thanks
You can check it out here, hope it helps!
http://techmix.net/blog/2010/11/25/add-button-to-extjs-gridpanel-cell-using-renderer/
Actualy Ext.Buttons in a row cell is as far as i can tell impossible with the current setup of Ext. Ofcourse it is actually possible to render the HTML of a button in the div of the cell but i actually think that would be a bad idea.
A better way is to implement Saki's rowactions plugin which makes it really easy to add buttons/actions to each row.
http://rowactions.extjs.eu/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With