Hi,
could u clarify my doubts in editor grid from http://www.extjs.com/deploy/dev/exam...edit-grid.html implemented this i give triggerfield like this but when i get the value from triggerfield click event the value not set in column fields
Code:
xtype : 'editorgrid',
layout: 'fit',
store: workorder_task_store,
clicksToEdit: 1,
tbar: [{
text: 'Add Task',
handler : function(){
var grid = Ext.getCmp('wo_task_selection');
var Plant = grid.getStore().recordType;
var p = new Plant({
task_auto: '',
task_action: '',
});
grid.stopEditing();
grid.getStore().insert(0, p);
grid.startEditing(0, 0);
grid.startEditing(0, 1);
grid.startEditing(0, 2);
}
}],
columns: [
{header: "Task #", sortable: true, dataIndex: 'task_auto', width:80,editor:new Ext.form.TriggerField({onTriggerClick:function(){ BudgetCalculator('task_auto'); },id:'task_auto', name: 'task_auto'})},
{id:'desc',header: "Description", sortable: true, dataIndex: 'task_action', width:200,editor: new Ext.form.TextArea()}]
Regards,
Devigandhi.