Revision history [back]

click to hide/show revision 1
initial version

asked 2016-11-18 08:10:01 +0800

psingh gravatar image psingh flag of India

Zk Combobox onOpen Event issue

hi,

I am having 2 dependent comboboxes and want to populate the data on the selection of one combo value to another by using onOpen event. But I am getting stuck when I enter 'a' value via keyboard bydefault first item related to "a" got selected and when I press enter it is giving Null pointer because the selected item does not contain any value.

Even when I enter any letter and traverse through mouse at first time, press enter then nothing gets populated on another combo and selected Item is still null.

What can be the possible solution to overcome this issue? I have documented my code in fiddle please check it ComboBox Data Binding issue

Zk Combobox onOpen Event issue

hi,

I am having 2 dependent comboboxes and want to populate the data on the selection of one combo value to another by using onOpen event. But I am getting stuck when I enter 'a' value via keyboard bydefault first item related to "a" got selected and when I press enter it is giving Null pointer because the selected item does not contain any value.

Even when I enter any letter and traverse through mouse at first time, press enter then nothing gets populated on another combo and selected Item is still null.

What can be the possible solution to overcome this issue? I have documented my code in fiddle please check it ComboBox Data Binding issue

Zk Combobox onOpen Event issue

hi,

I am having 2 dependent comboboxes and want to populate the data on the selection of one combo value to another by using onOpen event. But I am getting stuck when I enter 'a' value via keyboard bydefault first item related to "a" got selected and when I press enter it is giving Null pointer because the selected item does not contain any value.

Even when I enter any letter and traverse through mouse at first time, press enter on any item then nothing gets populated on another combo and selected Item is still null.

only previous data persist in both comboboxes. What can be the possible solution to overcome this issue? I have documented my code in fiddle please check it ComboBox Data Binding issue

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More