Home > front end >  Under the datagrid combobox binding for event "of the problem
Under the datagrid combobox binding for event "of the problem

Time:11-01

As title, think under the datagrid combobox input box for focus, open a corresponding combobox dropdown list,
But how don't know where is the binding, binding, online, etc.,

CodePudding user response:

Can modify the inputbox events (combotree similarly) :
 $. The extend ($. Fn.com bobox. Defaults. InputEvents, {
Focus: function (e) {
Var target=e.d ata. Target;
Var opts=$(target). The combobox (' options');//here you can get more parameters, can be used to determine whether to automatically open the drop-down box
$(target). The combobox (' showPanel ');
}
});

CodePudding user response:

Hello World, 1/f, reference response:
can modify inputbox events (combotree similarly) :
 $. The extend ($. Fn.com bobox. Defaults. InputEvents, {
Focus: function (e) {
Var target=e.d ata. Target;
Var opts=$(target). The combobox (' options');//here you can get more parameters, can be used to determine whether to automatically open the drop-down box
$(target). The combobox (' showPanel ');
}
});


Hello, excuse me, how to take the initiative to let combobox loses focus, I want to close the drop-down list events (onHidePanel), take the initiative to make combobox loses focus

CodePudding user response:

refer to the second floor, please call me cannon fodder response:
Quote: Hello World, 1/f, reference response:

Can modify the inputbox events (combotree similarly) :
 $. The extend ($. Fn.com bobox. Defaults. InputEvents, {
Focus: function (e) {
Var target=e.d ata. Target;
Var opts=$(target). The combobox (' options');//here you can get more parameters, can be used to determine whether to automatically open the drop-down box
$(target). The combobox (' showPanel ');
}
});


Hello, excuse me, how to take the initiative to let combobox loses focus, I want to close the drop-down list events (onHidePanel), take the initiative to make combobox loses focus
? Selection is inherently is focusing on the state of the
  • Related