ZK and Lookup(Selection) Components using MVVM

In this post, i will explain how to achieve the lookup methods using different components in ZK. So what is a lookup Method. ?

The LOOKUP method or function is used to search one column of data and find data in the corresponding row. For example, if you are searching a column of employee IDs the LOOKUP function can find, say, employee number 12345 in the ID column. Once it has found the ID 12345 it then can return data from that same row.

The above logic can be achieved using ZK Components as follows

1. Combo Box
2. Chosen Box
3. Customizable Combo Box
4. List Box


Let us start and see one by one examples:
All these examples are based in MVVM Pattern.

Before looking each example, follow and get trained on creating ZK Maven Project using the following link.
Create and Run Your First ZK 7 Application with Eclipse and Maven

All the examples will illustrate how to select the key data and retrieve the corresponding data on the same row. For example, Search and select by employee code and show the other information such as LastName, firstName, Gender, DOB, address, etc..

Here is the links which describes different methods.

1. ZK Selection or Lookup Using Combo Box.