View Full Version : How to get selected row renderer component object in GridPanel...

13 May 2011, 10:06 PM
Hi all,
I am new to Extjs. I am haiving a requirement to display a grid records with radio button selection model and row with check box. For that i have created the grid like below. Now i want to check the selected row, whether the checkbox is checked or not. Please help me to fix this problem.

var mygrid = new Ext.grid.GridPanel({
var rdObj = '<input type='radio' name='groupname' />';
return rdObj;
var chObj = '<input type="checkbox" name="mychbox" />';
return chObj;

Thanking you,

16 May 2011, 12:19 PM
You should try with Ext.grid.EditorGridPanel. In that case you can check values by accessing Ext.data.Store.

EditorGridPanel example: http://dev.sencha.com/deploy/ext-3.3.1/examples/grid/edit-grid.html
Store API: http://dev.sencha.com/deploy/ext-3.3.1/docs/?class=Ext.data.Store