4. Give a name and description to the Table Grid Editor.
For example, if you are going to use the Table Grid Editor
to store offers made to the customer, you can call it Quotes.
12. Let’s define the Item column
grid.columns = item, product, description, quant, unitprice
col.item=Item
col.item.type=string
col.item.required=true
col.item.maxLength=128
Column header name
13. Let’s define the Item column
grid.columns = item, product, description, quant, unitprice
col.item=Item
col.item.type=string
col.item.required=true
col.item.maxLength=128
Column type
14. Different Supported Column Types
col.name.type = ( checkbox | date | integer | list | number | radio | sequence | string | textarea )
Some Examples:
textarea
number
integer
list
radio
date
15. Let’s define the Item column
grid.columns = item, product, description, quant, unitprice
col.item=Item
col.item.type=string
col.item.required=true
col.item.maxLength=128
Is the field required?
16. Let’s define the Item column
grid.columns = item, product, description, quant, unitprice
col.item=Item
col.item.type=string
col.item.required=true
col.item.maxLength=128
What is the number of characters
17. Let’s define the Product Code column
grid.columns = item, product, description, quant, unitprice
col.product=Product Code
Column header name
col.product.type=list
col.product.width=100
col.product.query=SELECT name, id FROM products WHERE STATUS='A'
col.product.ds=productData
18. Let’s define the Product Code column
grid.columns = item, product, description, quant, unitprice
col.product=Product Code
Column type, “list” = elements in a dropdown box
col.product.type=list
col.product.width=100
col.product.query=SELECT name, id FROM products WHERE STATUS='A'
col.product.ds=productData
19. Let’s define the Product Code column
grid.columns = item, product, description, quant, unitprice
col.product=Product Code
col.product.type=list
Default width of column in pixels
col.product.width=100
col.product.query=SELECT name, id FROM products WHERE STATUS='A'
col.product.ds=productData
20. Let’s define the Product Code column
grid.columns = item, product, description, quant, unitprice
col.product=Product Code
col.product.type=list
col.product.width=100
col.product.query=SELECT name, id FROM products WHERE STATUS='A'
col.product.ds=productData
SQL Query to populate the elements
in the list from an external database.
21. Let’s define the Product Code column
grid.columns = item, product, description, quant, unitprice
col.product=Product Code
col.product.type=list
col.product.width=100
col.product.query=SELECT name, id FROM products WHERE STATUS='A'
col.product.ds=productData
Name of the data source to be used where the SQL query
needs to be executed.
22. To learn more about the other
configuration options.
> Click here <
http://wiki.idalko.com/display/TGPD/Configuration+property+index