Default Alignment:

    • When you create a new grid control (for input or output), the default alignment for the entire grid is set to left. However, this can be changed easily.

Accessing the Designer Interface:

    • Open the grid’s designer interface.
    • Scroll down to the sections labeled Header Alignment and Content Alignment.

Understanding the Grid Layout:

    • The grid is divided into two sections:
      • Header: The top section of the grid.
      • Content: The area below the header.

Adjusting Alignment for the Entire Grid:

    • You can set the Header Alignment to left, right, or center.
    • Similarly, adjust the Content Alignment to your preferred setting.
    • Preview your changes to see the updated alignment for the entire grid.

Setting Alignment for Individual Columns:

    • If you want to control the alignment of specific columns (e.g., setting the number and currency columns to right while keeping text, date, and time columns left):
      1. Go to the designer interface.
      2. Scroll down to adjust the properties for each column individually.
      3. Click on the number column and change its content alignment to Right.
      4. Repeat the same steps for the currency column, setting its content alignment to Right.
      5. Ensure you save your changes.

Preview the Result:

    • Click Preview to view your updated grid. Only the content of the number and currency columns will be aligned to the right, while other columns will remain left-aligned.

Applicability:

    • These alignment settings apply to both input and output grids, and work for both inline and form-basedgrids.