VB Flex Grid
VB Flex Grid
VB Flex Grid
2. Clip:
This property returns the contents of the selected
region.
Syntax
Grid Name. clip=string$
3. Fill style
User enter into one cell of the selected
region to fill up the entire region.
Default-0, 1- flex fill repeat.
4. High light
It has 3 values
0- flex high light never
1- flex high light always
2- flex high light with focus
5. Allow Big Selection
• True/False property determines clicking on rows
& column header selects the entire row or column.
6. Allow user resizing
• It determines whether the user can resize a row or
column at run time using mouse.
0-default
1-column resize
2- row resize
3-both
Sorting a grid
• Most powerful feature of flex grid .
• It has got the ability to sort rows according to the
column selected.
Syntax
Flex Grid Name. sort=value
Value 0-none
1- Ascending order
2-Descending order
3-Ascending but converts string to numbers
4- Descending but converts string to
numbers.
5-Ascending but case insensitive
6- Descending but case insensitive
7-Ascending but case sensitive
8- Descending but case sensitive
9- Use the compare events to compare
rows
EVENTS AND METHODS FOR FLEX
GRID
Grids respond to many of the std. events
Eg: Click event
key press event
Methods for resizing a grid
• There are also methods to insert or delete rows
from a grid.
Syntax
Grid Name. add item item$[,index%]
Remove item:
It removes a row from a grid
Syntax
Grid Name. remove item index%