Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Standard grid ribbon buttons

Whenever we say that a main grid should have standard grid buttons in the ribbon area then we mean this:

Text alignment

  • tables header row should always be centered
  • text columns should always have alignment to left
  • numeric columns should always have alignment to right
  • watch out: the Number column is almost always a text column
  • unit and currency columns should have alignment to left

Mockups won't have those alignments as it impossible to do with Balsamiq. Nevertheless we should always use the above conventions if the spec text does not say otherwise.

Columns with fixed sizes

The following types of columns should always have fixed sizes:

  • Unit
  • Cur.
  • Number
  • # - (Lp. in polish)

Their size is configurable in the systems parameters: Fixed column sizes configuration

We should also apply fix sizes for other columns that: are likely to have short and similar number of chars in their values. They don't always have to be configurable.

Mockups do not specify column widths. Use these guidelines and common sense then implementing them.

QCADOOMESCLS-626 will give us the possibility to do this in reports.

 

Numeric columns with suffix

This convention applies to grids that are fully under the developers control and to the default order of configurable columns.

Filtrability

All columns that can be technically filtered should be made filterable if the spec does not say differently.

Filters showed or hidden by default

The filter should be showed by default if:

  • the grid is expected to be permanently small while working in production
  • in most cases it will never have more then 10 rows
  • it will almost never have more then 20 rows

See description for grid or lookup on View components for information how to do it.

  • No labels