PDA

View Full Version : How to render checkbox, textFiled,selectbox etc in a single grid column



anilmullapudi
27 Aug 2012, 11:25 AM
How to render checkbox, textFiled,selectbox etc in a single grid column,
I am not found any solution for this, Please help on this

droessner
27 Aug 2012, 11:46 AM
Check out this user plugin. I think this is what you are looking for:

http://www.sencha.com/forum/showthread.php?148064-Component-Column-Components-in-Grid-Cells

anilmullapudi
27 Aug 2012, 11:24 PM
I placed Component.js and CTemplate.js files in ux folder, however i am unable to fetch the sencha textfield, checkbox in grid(renderer funtion)
columns: [
{

dataIndex: 'name',
xtype: 'componentcolumn',
renderer: function(name, meta, record) {

return {
value: name,
xtype: 'textfield'
};
}
}]