To hide a combobox item, get that item element and then call .hide() method to hide it. The code below shows how to achieve this functionality.
Another simple way to solve this issue is to call 'loadData' method to load another dataset.
Code:
<th field="pipeline_status" width="50" data-options="
editor: {
type:'combobox',
options:{
//...
onShowPanel:function(){
var el = $(this).combobox('options').finder.getEl(this, '1');
el.hide();
}
}
}
">Status</th>
Another simple way to solve this issue is to call 'loadData' method to load another dataset.
Code:
$(...).combobox('loadData',...);
Thank for your response sworthy,
But it's not the answer.
I mean,
if the current value is 2 (Solisit), the combobox only show next record (Document, Nap, etc)
if the current value is 3 (Document), the combobox only show next record (Nap, etc),
How can i do that ?