TreeGrid v6.0
Space rows
Space rows have all row and cell attributes as normal grid rows.
Solid space rows are especially used for toolbars, tabbers, functional rows like Group or Search or any custom control rows.
Space row is not divided to column sections, is still visible and never scrolled.
Space row cannot be sorted, filtered, selected, deleted, added or dragged, cannot have child rows, cannot be exported to Excel.
By space rows are done special rows Group, Search, Toolbar and Tabber.
Space row can be placed in <Solid> tag as the <I> or <Space> tag.
It is placed into table between other rows sections (Head / Body / Foot) or above or below table, the position is set by Space attribute.
It can be placed also outside grid by Tag attribute.
Every space row can have its own named cells defined by Cells array. The names of cells can, but don’t need to be the same as column names.
The space cells are not related to grid columns, every cell have its width set by its Width attribute. The cells cannot be spanned.
The space cell attributes never read its value from grid column, even if they are named same. The space cells are not affected by any grid column resize or move.
Space row can be hidden and displayed by Visible attribute or by ShowRow / HideRow API methods.
Can be calculated, the Formula must be set for individual cells. Can run after cell change or button type cell click. Cells can be focused and/or edited.
<Space> string[] Cells .
Comma separated list of cells in the row. The names of cells can, but don’t need to be the same as column names.
These cells are not related to grid columns, even if they have the same names.
Every cell have its width set by its Width attribute, so the cells are not aligned with grid columns. The cells cannot be spanned.
<Space> int Space [2] upd 6.0 .
Position of the row inside grid, specifies horizontal section of the grid.
If more solid rows has the same Space value, they are placed in the order they are in XML.
-1 – above table, 0 – above Head, 1 – between Head and Body, 2 – between Body and Foot, 3 – between Foot and vertical scrollbar, 4 – under vertical scrollbar, 5 – under table
-1, 0, 4, 5 are spanned for whole grid, including vertical scrollbar and pager,
1, 2, 3 are spanned only for columns – the vertical scrollbar and pager are placed right side.
<Space> string Tag .
To place Space row outside the grid to any HTML tag on page. If set, the Space attribute is ignored.
It is the id of HTML tag where to render the row.
The width of the external space row is still preserved to be the same as the actual main table width.
In trial version this attribute is ignored.
<Space> string Kind upd 7.0 .
Kind of the space row, can be set also by tag name, e.g <Space Kind=’Test’ ... /> is the same as <Test ... />
There are special kinds of space rows: Group, Search, Toolbar, Toolbar1, Toolbar2, Topbar, Topbar1, Topbar2, Tabber, Fill (empty row created for ConstHeight) with special features.
By the custom Kind settings you can set CSS class for the whole row, the CSS class name will be Gx + kind + Row, e.g. GMTestRow.
<Space> int Panel .
If the row displays (disabled) left panel, just for the same look as other rows.
If set to 2, it displays the panel even if the whole panel column is hidden.
<Space cell> string Label new 6.0 .
HTML label displayed in front of the cell.
Inserts new cell Type=’Html’ CanFocus=’0’ Width=’-1’ in front of the cell
<Space cell> string LabelRight new 6.3 .
HTML label displayed after the cell.
Inserts new cell Type=’Html’ CanFocus=’0’ Width=’-1’ after the cell
<Space cell> int Left new 6.0 .
Left indent of any cell, in pixels.
Inserts new cell Type=’Html’ CanFocus=’0’ Width=’Label width’ in front of the cell