[2010-12-07 14:57:47] Rev:645 | 3 files Modified

gustavo: Changing the reassign comboBox behavior adding the auto-complete feature.
--------------------------------------------------------------------------------
1. M /trunk/workflow/engine/templates/cases/reassignList.js
2. M /trunk/workflow/engine/templates/cases/casesList.js
3. M /trunk/workflow/engine/methods/cases/proxyReassignUsersList.php
This commit is contained in:
Erik Amaru Ortiz
2010-12-09 14:03:27 +00:00
parent 3d9d4a5a38
commit a8e94216ff
3 changed files with 57 additions and 8 deletions

View File

@@ -55,10 +55,18 @@
// create the combo instance
var comboUsersToReassign = new Ext.form.ComboBox({
//typeAhead : true,
fieldLabel : 'Reassign to',
width : 280,
boxMaxWidth : 180,
editable : true,
forceSelection: false,
minChars : 2,
valueField : 'userId',
displayField : 'userFullname',
selectOnFocus : true,
typeAhead : true,
autocomplete : true,
mode : 'remote',
triggerAction : 'all',
width : '150',
//lazyRender : true,
// store : new Ext.data.Store(),
store : storeUsersToReassign,
@@ -69,9 +77,8 @@
row.set('APP_REASSIGN_USER', record.get('userFullname'));
this.setValue(record.get('userFullname'));
}
},
valueField : 'userId',
displayField : 'userFullname'
}
});
//alert (this.fields.);