Use of FlexGrid controls (iii)

Source: Internet
Author: User
Tags definition header

Customizing how standard areas are displayed
Hierarchical FlexGrid standard areas can be customized so that the information provided to the user will be clearer and more accessible. The standard area contains cells that are bound to data.
To customize the way hierarchical FlexGrid standard areas are displayed
1. Click Hierarchical FlexGrid, and then select Properties from the shortcut menu. The Property Pages dialog box for Hierarchical FlexGrid appears.
2. On the General tab, set the following standard properties:

3. On the Style tab, set the following standard properties:

4. On the Font tab, set the following standard properties:

5. Click OK to apply the standard attributes to hierarchical FlexGrid and close the Property Pages dialog box.

Customizing how fixed areas are displayed
You can create rows or columns that are fixed to display in Hierarchical FlexGrid. To make it easier for users to read, you should use a fixed area to display a header collection instead of using duplicate column headers in each stripe. The range will be static, identifying the following row or column to the right.
To customize the display of the fixed area of the Hierarchical FlexGrid
1. Click Hierarchical FlexGrid, and then select Properties from the shortcut menu. The Property Pages dialog box for Hierarchical FlexGrid appears.
2. On the General tab, specify the number of rows and columns in the fixed row and fixed column text boxes, and then click Apply.
3. On the Styles tab, select the display style for fixed text from the fixed text style box, and then click Apply.
4. On the Font tab, set the following standard properties:

5. From the Color tab, specify a color for each fixed property. To do this, you first need to select a color setting. Then, click the property you want to change (for example, backcolorfixed), click a color in the palette, and then click Apply. Repeat for each fixed area that needs to be changed.
Note If you use the Windows default color, the color displayed in Hierarchical FlexGrid will be the color specified in the Display Control Panel. In addition to changing the color of the Hierarchicalflexgrid property to a standard or Windows default color, you can create your own color definition (click Edit Custom color to use the Color dialog box that pops up.) For information about each property, see the Hierarchicalflexgrid property topic.
6. Click OK to apply the fixed attribute to hierarchical FlexGrid and close the Property Pages dialog box.

How custom headers are displayed
in Hierarchical FlexGrid, you can change the formatting and display properties of the striped header.
to customize the Hierarchical FlexGrid display
1. Right-click the Hierarchical FlexGrid and choose Properties from the shortcut menu. The Property Pages dialog box for Hierarchical FlexGrid appears.
2. On the Band tab, select a header style from the Text Style header box and select ColumnHeaders.
Note To prevent hierarchical FlexGrid from displaying duplicate headers, you must set the Fixed Row text box to 0 in the General tab. In addition, if you want to display only a set of headers in the band at the top of the Hierarchicalflexgrid, you must use a fixed row instead of a column header.
3. In the column heading and column Name list boxes, specify the columns you want to display. By default, the list contains all the fields of the Recordset and their field names. If you need to stop displaying a Field object, or if you want to change its name, use the column headings list. If you need to cancel a field, click the corresponding selection symbol. If you want to change the name of the field, click the name to select it, and then click it again to enter edit mode for renaming.
4. Click OK to apply the striped attribute to hierarchical FlexGrid and close the Property Pages dialog box.

Customizing areas for unfilled data
In Hierarchical FlexGrid, you can change the formatting and display properties with unfilled data regions. This unfilled area is blank and does not contain any data.
To customize the display of unfilled data areas for hierarchical FlexGrid
1. Right-click Hierarchical FlexGrid and choose Properties from the shortcut menu. Displays the Property Pages dialog box for the Hierarchical FlexGrid.
2. On the Style tab, change the non-set grid line property.
3. On the Colors tab, specify a color for each fixed property. To do this, you first need to select a color setting. Then, click the property you want to change (for example, backcolorunpopulated), click a color in the palette, and then click Apply. Repeat for each unfilled area that needs to be changed. Note If you use the Windows default color, the color displayed in Hierarchical FlexGrid will be the color specified in the Display Control Panel. In addition to changing the color of the Hierarchicalflexgrid property to a standard or Windows default color, you can create your own color definition (click Edit Custom color to use the Color dialog box that pops up).
4. Click OK to apply the fixed attribute to hierarchical FlexGrid and close the Property Pages dialog box.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.