PDA

View Full Version : MultiSelect Combo



Buf93
11 Apr 2017, 11:41 PM
Hi,

I try to make a field multiselect but when i try to show the values into the field, it doesn't show values.

xtype :'multiselect',
fieldLabel:this.i18n.fieldHabla,
hiddenName :'fovaPsicoHablaEspontanea',
displayField:'valoNombre',
valueField :'valoId',
typeAhead:true,
forceSelection:true,
titleCollapse:true,
triggerAction:'all',
store:newExt.data.JsonStore({
url : ctx +'/valores.do',
autoLoad :false,
remoteSort :false,
baseParams :{
op :'listByEntidad',
entiId :93
},
sortInfo :{
field :"valoNombre",
direction :"ASC"
},
fields :['valoId','valoNombre']})

This is my code. I have in my DB a table that contains entiId and the values that entiId 93 has.
If i change the xtype value to combo, it shows me the values but if i choose multiselect xtype doesn't show the values.
Thank you for your help!