Ben McLendon
IT Manager and part-time: coder, photographer, designer, etc...
Centos(rackspace), Apache, MySQL, PHP, ExtJS,OSX
http://www.linkedin.com/in/benmclendon
http://www.barneshc.com - http://www.audiedigitalmedia.com
I have problem with itemselector. I have many tabs with the same itemselector (tab can add or remove, but it has the same data), but when I close the tab, the double click of itemselect is disable. Please help me.
Code:{ xtype: 'multiselect', fieldLabel: 'Select a example', name: 'multiselect', width: 350, height: 200, allowBlank:false, store: new Ext.data.JsonStore({ autoLoad: true, url: 'example.php', root: 'data', totalProperty: 'total', idProperty: 'id', autoDestroy: true, remoteSort: true, sortInfo: {field: 'text', direction: 'ASC'}, storeId: 'dsExample', fields: [ {name: 0, mapping: 'text'}, {name: 1, mapping: 'id'} ], baseParams: {_action: 'select'} }) }
Hello,
I'm trying to use the MultiSelect 2.2 in a SpringRoo project. I add the JavaScript sources in the load-scripts.tagx file like this :
But when I load my page, I have this first error :Code:<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0"> (...) <spring:url value="/resources/CSS/ext-all.css" var="ext_all_css" /> <spring:url value="/resources/JS/ExtJs/adapter/ext/ext-base-debug.js" var="ext_base_debug_js" /> <spring:url value="/resources/JS/ExtJs/ext-all-debug.js" var="ext_all_debug_js" /> <spring:url value="/resources/CSS/extensible-all.css" var="extensible_all_css" /> <spring:url value="/resources/JS/Extensible/extensible-all-debug.js" var="extensible_all_debug_js" /> <spring:url value="/resources/JS/ExtJs/i18n/ext-lang-${pageContext.response.locale}.js" var="ext_lang_js" /> <spring:url value="/resources/JS/Extensible/i18n/extensible-lang-${pageContext.response.locale}.js" var="extensible_lang_js" /> (...) <spring:url value="/resources/CSS/Multiselect.css" var="Multiselect_css" /> <spring:url value="/resources/JS/Multiselect.js" var="Multiselect_js" /> <spring:url value="/resources/JS/DDView.js" var="DDView_js" /> (...) <link rel="stylesheet" type="text/css" href="${ext_all_css}"> <!-- required for FF3 and Opera --> </link> <link rel="stylesheet" type="text/css" href="${extensible_all_css}"> <!-- required for FF3 and Opera --> </link> <link rel="stylesheet" type="text/css" href="${Multiselect_css}" > <!-- required for FF3 and Opera --> </link> (...) <script src="${ext_base_debug_js}" type="text/javascript"> <!-- required for FF3 and Opera --> </script> <script src="${ext_all_debug_js}" type="text/javascript"> <!-- required for FF3 and Opera --> </script> <script src="${extensible_all_debug_js}" type="text/javascript"> <!-- required for FF3 and Opera --> </script> <script src="${ext_lang_js}" type="text/javascript"> <!-- required for FF3 and Opera --> </script> <script src="${extensible_lang_js}" type="text/javascript"> <!-- required for FF3 and Opera --> </script> <script src="${DDView_js}" type="text/javascript"> <!-- required for FF3 and Opera --> </script> <script src="${Multiselect_js}" type="text/javascript"> <!-- required for FF3 and Opera --> </script> (...) </jsp:root>
And when I try to show the MultiSelector, I have this second error (maybe related to the first one) :sp is undefined in ext-base-debug.js (line 251)
I red that the first error can appear when something tries to extend something else that is not defined yet. But here it happens in "ext-base-debug.js" and not in "DDView.js", and only if I load "DDView.js". But "DDView.js" is supposed to be loaded after "ext-base-debug.js" ...this.classRe is undefined in DDView.js (line 34)
Can someone give me a clue please ?
Hello again,
I found the source of the problem : versions !
The last version of Multiselector uses DDView object that extends Ext.View.
As I use ExtJs 3.3.1, Ext.View is not defined.
So I have to use an older version of MultiSelector and ItemSelector.
I hope this will help someone.
Hi,
Thanks for the plugin it helped alot, I am looking for multiselect functionality without using the CTRL key, I am able to select the values using CTRL key, but I am looking for selecting the multiple values by mouse click, please help on this.
Thanks.
guys, i can't access demo and download page![]()