News in versions: FastGrid 1.0, TreeGrid 17.0
FastGrid FastSheet ExamplesSamples DocumentationDoc Download Licensing Prices Buy Development
services
References References Contacts
TreeGrid Gantt chart SpreadSheet ExamplesSamples DocumentationDoc Download Licensing Prices Buy Contacts

2. Column tree

Nesting columns to tree levels

  • Every column can have defined its level of nesting in tree by

    L

    attribute.
    The root level, that can be expanded, has L = 0, the not expandable level outside the tree is defined by L = -1.
    The next column should have defined the L maximally as L + 1 of its previous column to be its child.
  • Column tree must be permitted by Cfg

    ColTree

    = 1.
    The column tree is displayed in row part of Type = "Tree". By default there is one such part with id="Tree" placed on top of the grid.
    The expand / collapse button can be shown also in any cell in LeftIcons / RightIcons / TextIcons by adding CollapseCol button.
  • Column can hide its children if it has set

    Collapsed

    = 0.
    To restrict collapsing or expanding column children set

    NoCollapse

    = 1.
  • To display Level buttons to expand particular tree level set column attribute

    LevelsPart

    to the column part ids to control.
  • To collapse / expand the columns on start or on grouping set part attribute

    CollapseLevel

    to the level of expanding. It is also shown in the LevelsPart button.
  • The expand button can show plus or it can show the count of collapsed children according to various conditions set by Cfg

    ExpandDigits

    .
  • The column tree can be shown also in reversed order, the children shown above parents, if set Cfg

    ReversedTree

    & 2.
  • The height of the tree level in the Tree part (how much the next level is indendented in pixels) is set by Cfg

    ColTreeHeight

    .
  • It is possible to hide lines in the tree and show only expand / collapse buttons by Cfg

    ColTreeLines

    .
  • Horizontal position of the expand button in the Tree part is set by Cfg

    ColTreePaddingLeft

    , and position of the line ends by Cfg

    ColTreePaddingRight

    .
  • It is possible to also show / hide particular row(s) when showing / hiding particular column level, define these rows per column level in Cfg

    ColLevelsRows

    .