PDA

View Full Version : Additional param in CRUD-update or always dirty field



waken
15 Jul 2010, 11:38 PM
Hi,
like in topic - how put additional parameter in CRUD update or how mark field as dirty to put it in update query ? I don't want to send all fields from form to update. (this is Combo field)

Thanks

waken
15 Jul 2010, 11:52 PM
beforewrite : function( oStore, sAction, record, options, arg) {

if(sAction == 'update'){
Ext.apply(options.params, {
my_field: record.data.my_field
});
}


This is not a solution - i need to add param to options.params.data.result :(