mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-10 17:57:30 +00:00
KVComboBox: add setComboItems function
this allows to change the comboItems of a KVComboBox on the run Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
This commit is contained in:
parent
312310e0f2
commit
c8b66b2bfd
@ -71,5 +71,12 @@ Ext.define('Proxmox.form.KVComboBox', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
me.callParent();
|
me.callParent();
|
||||||
|
},
|
||||||
|
|
||||||
|
setComboItems: function(items) {
|
||||||
|
var me = this;
|
||||||
|
|
||||||
|
me.getStore().setData(items);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user