the Ext.ux.Andrie.Select is not visible when i use it in the following way
items : {
xtype : 'fieldset',
title : 'Target Filter',
items : [
new Ext.ux.Andrie.Select( {
id : 'qTBucket',
fieldLabel : 'Opty Size Bucket',
xtype : 'combo',
typeAhead : true,
triggerAction : 'all',
width : 140,
editable: true,
visible:true,
mode : 'local',
displayField: 'value',
multiSelect:true,
valueField : 'value',
lazyInit : true,
store : optySizeBucketStore,
listClass : 'x-combo-list-small'})
,
Quote:
Originally Posted by
andrei.neculau
March 26, 2008
This extension has been discontinued! A new extension with the same capabilities, but with cleaner and smarter code will be uploaded within the future days.
---------------
* This extension is merely the new-comer after
Ext.ux.form.Select for Ext 1.x
Same features are available. To summarize: a ComboBox with multiple selection support.
Nothing much changed on the surface, other than switching the config property singleSelect to it's counter-property: multiSelect. The reason behind the change is to make it more logical when using Ext.DataView.
Since 0.3.6 - it also features history capabilities (the former HistoryComboBox)
Live DEMO is available here. Testcase is included in the attached ZIP file.
As always - looking forward to reactions on this! :)
TO DO (not in the very near future)
------
- add key search (Ext 1.x - SelectBox)
- add grouping capability (Ext 1.x - GroupComboBox)
Post Scriptum- I sincerely apologize, but you won't be seeing "Mine is better because..." regarding this post. People can choose and make up their own mind. This is one reason why I switched to Ext.ux.Andrie namespace. I want to govern over Ext.ux.Select (sounds like community-work, consensus toward official release) no more than I want somebody else to use Ext.ux.Andrie namespace (personal work).
- I apologize for a second time because there was a "nice" delay since I promised to support Ext 2.x and the current time - release time. To be honest, this switch has only taken one day - today -, so it could have been released a long time ago.
- All in all, I'd like to thanks the Ext2 team - it was fairly easier to implement this on the new framework, than it was on Ext1.
-
[GMT 14:33 Nov. 5] - Update to v0.3.4 (fixed clearValue, improved reset, new clear button/trigger)
[GMT 23:14 Nov. 5] - Update to v0.3.5 (improved clear trigger and transform capabilities)
[GMT 10:04 Nov. 6] - Update to v0.3.6 (added history capabilities) [GMT 13:40 Nov. 7] - Update to v0.3.7 (removed a faulty JS hack - It's important to go ahead with this update!!!)
[GMT 17:02 Nov. 12] - Update to v0.3.8 (improved setValue function)
[GMT 10:35 Nov. 17] - Update to v0.4 (improvements and fixes + cleaner code; full changelog on the demo page)
[GMT 14:19 Nov 20] - Update to v0.4.1 - LIVE DEMO IS NOT YET UPDATED TO USE THE LATEST VERSION! (Having problems with accessing the webhost)
1 Attachment(s)
MultiSelect works fine with this plugin
I've used this plugin for multiselect combo in extjs 3.4.
Steps to follow:
1) include the plugin in your directory (js and css files)
2) you may need to comment out some lines as following in Select.js file of the plugin:
Ext.ux.Andrie.Select = function(config){
//following lines commented out intentionally to avoid some unexpected errors
/*if (config.transform && typeof config.multiSelect == 'undefined'){
var o = Ext.getDom(config.transform);
config.multiSelect = (Ext.isIE ? o.getAttributeNode('multiple').specified : o.hasAttribute('multiple'));
}
config.hideTrigger2 = config.hideTrigger2||config.hideTrigger;*/
Ext.ux.Andrie.Select.superclass.constructor.call(this, config);
}
3) use something like this:
this.cmbo = new Ext.ux.Andrie.Select({
id: 'OfficeCombo',
xtype: 'combo',
emptyText: 'Select All',
autoScroll: true,
store: enggOfficeStore,
displayField: 'FullName',
multiSelect: true,
valueField: 'ShortName',
mode: 'local',
listeners:{
select: function(record, index) {
alert(record.getValue());
//................
}
}
});
4) In the panel, you can use something like this
this.pnlEnggScreen = new Ext.Panel({
layout: 'column',
items: [this.cmbo]
})