PDA

View Full Version : Action(Link or call function) on entire row on a grid



rafaelrp
9 Mar 2012, 11:27 AM
Can i call a function or put a link on an entire row on a grid?

i've tryed to make an action xtype column but no have success because i need a big image with a link or a function on click.

Ex: on a grid column i have an image, when i click on that image i need to call a function.

Thanks ~o)~o)

arthurakay
9 Mar 2012, 11:52 AM
Have you looked at the "select" event on the row selection model?
- http://docs.sencha.com/ext-js/4-0/#!/api/Ext.selection.RowModel-event-select