Grid property settings

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > Grid control > Function Description >

Grid property settings

What kind of properties does Grid control have?

Grid control has the following properties, broadly speaking:

 

kinds

explanation

Properties

 

These are properties for the entire Grid control. The Grid control properties are used to set common settings and default values for the entire grid.

 

Editing the grid's properties is done like any other standard control, either through its property page or through the property settings dialog.

 

(Property Settings Dialog)

cr_0195

 

Cell Properties

 

Cell properties are properties provided for each cell in Grid control.

 

You can set the cell type for each cell by using the common cell property "CellType".

 

The following cell types are available:

 

Cell Type

Type designator character

explanation

Label Type

label

Used to display characters.

Edit box type

edit

Used when the user provides input.

Combo Box Type

combo

Used when the user provides input, allowing selection from a list.

Meter Type

meter

Displays the numerical value as a bar meter.

Lamp type

lamp

ON/OFF is displayed by a lamp.

Switch Type

switch

Used when the user sets ON/OFF.

Button type

button

Used to make a cell into a button.

Side button type

sidebutton

Used to place the button on the right edge of the cell.

Image type

image

Used to display image files.

Header Button Type

headerbutton

Used when you want to make a header cell into a sort button, unsort button, etc.

Header Filter Types

headerfilter

Used to make the header cell an edit box for entering a search string for the field filter.

 

Cell properties are set from script. Please refer to the following for how to write the process.

 

•Setting cell properties by style

•Setting cell properties directly

 

Column/Row Properties

 

Column/row properties are properties that can be specified at the column and row level of Grid control.

 

By using this property, you can easily set column widths, data types, row heights, etc. all at once.

 

The column/row properties are set from a script. Please refer to the following for how to write the process.

 

•Set column/row properties