Excerpt |
---|
You can initialize a grid either statically or dynamically with the help of these properties. |
To initialize a grid statically use the gd.query.row properties.
To initialize a grid dynamically use the gd.query and gd.query.ds properties.
Note |
---|
title | If a grid contains static and dynamic initialization properties, both will be used to set up initial data. |
---|
|
For example, when the grid configuration contains properties as below, it will be initialized with all the employees aged 25 or younger, and the 2 static entries (Brad Pitt and Angelina Jolie). Code Block |
---|
gd.columns = firstname, lastname
gd.query = select firstname, lastname from employees where age < 26
gd.query.ds= employeedb
gd.query.row1 = Brad, Pitt
gd.query.row2 = Angelina, Jolie |
|