News in version
TreeGrid Gantt chart SpreadSheet Examples Documentation Download Development Licensing Prices References Contacts Buy Try it free
Live examples
Grids and tree grids

Complex grid - the first one Complex grid - RTL mode Large table with paging Large table without paging Multiline & images - books Positions and spanning Photo album - images PivotTable - 2D grouping Schools - list and ratings File and directory browser Extended JavaScript API Sharing & synchronization 1 000 000 rows, 1 000 cols


Microsoft Excel sheet TreeGrid sheet TreeGrid sheet - RTL mode

Gantt and bar charts

Gantt & Network chart Gantt & Network chart - RTL Simple Gantt chart Big Gantt chart - 1000 rows Gantt chart tree by grouping Resources usage chart Run chart - bar chart Grouping bars - run groups Joined boxes and containers Line chart and XY charts

Live grid tutorials
Basic (rows and columns)

1. Basic grid 2. Rows 3. Columns 4. Default rows, columns 5. Rows manipulation 6. Rows identification

Cells (types, formats, edit)

1. Edits - inputs & multiline 2. Combos & checkboxes 3. Html, links, imgs, buttons 4. Space buttons & tabs 5. Permissions & validation 6. Cell CSS style & color 7. Conditional formatting 8. Custom controls & editing 9. Events & custom dialogs 10. Column & row spanning 11. Dynamic cell spanning

Tree (rows, columns, groups)

1. Row tree 2. Column tree 3. Grouping rows to tree

Sorting rows

1. Sorting rows

Filter and search

1. Filtering rows 2. Filtering in tree 3. Search & advanced filters


1. Dragging rows 2. Dragging between grids 3. Dragging external tag

Paging (rows, tree, columns)

1. Client root paging 2. Client child paging 3. Client column paging 4. All client paging 5. Adding pages dynamically 6. Server root paging 7. Server child paging 8. All server paging

Master and detail

1. Nested detail simple 2. Nested detail tables 3. Master detail simple 4. Master detail tables 5. Master detail more tables 6. Master detail in tree 7. Master detail trees 8. Nested detail nested deep 9. Nested detail server paging

Calculations (cell formulas)

1. Calculated columns 2. Calculated rows 3. Calculation order 4. Calculated rows in tree 5. Calculation order in tree 6. Calculated attributes 7. Editable calculated cells

Live Sheet tutorials
Sheet features

1. Row and column Index 2. Auto size (auto adding pages) 3. Row&column manipulation 4. Cell manipulation 5. Cell style 6. Editable formulas (ids) 7. Editable formulas (indexes) 8. Cell format 9. Outside edit 10. Auto tree

Live Gantt tutorials
Main bar (Gantt chart)

1. Main bar 2. Discrete main bar 3. Main bar plans 4. Summary tasks

Run bar (Bar chart)

1. Run array definition 2. Run JSON definition 3. Run summary definition 4. Run drag 5. Run groups & API 6. Run bar as task 7. Run box as task 8. Network diagram 9. Run join and drag 10. Run external drag 11. 2 fixed levels containers

Flags and points

1. Flags 2. Points

Display, zoom, paging

1. Header & background 2. Zoom 3. Paging 4. Synchronizing more Gantts

Dependencies & scheduling

1. Constraints 2. Dependencies 3. Schedule tasks 4. Critical path


1. Calendars exclude


1. Resources 2. Availability

7. Conditional formatting and styling

TreeGrid can calculate cell's look according to its value or any other condition

    Remember, when you specify Formula for cell attribute like Class, Color or Icon, you must add it to the row CalcOrder list, otherwise it will be ignored. To add CalcOrder to all rows, set it to the <D Name='R'/>. Remember, when you set CalcOrder attribute, you must list here also all calculated cells.
    For example <Def><D Name='R' CalcOrder='Col1Class,Col3,Col3Color,Col5'/></Def> when set <C Name='Col1' ClassFormula='...'/><C Name='Col3' Formula='...' ColorFormula='...'/><C Name='Col5' Formula='...'/>.
    All the ...Formula attributes can be set also to individual cells, not only to whole columns. In this case the row must have set Calculated='1'.
    The conditional formatting can be used also for any other cell Type like Date, Enum or Text, not only numbers.
    The Format, Color and Class attributes can be calculated also in API events OnGetFormat, OnGetColor and OnGetClass.

  • Format

    attribute (for Int and Float Type only). The simplest way, you can specify three different formats, for positive values, negative values and zero. Empty value can be specified independently by EmptyValue attribute.
    By Format you can specify the count of digits, count of decimal places, group separator and also any HTML code to set font, text color, etc.
  • Calculated


    attribute. You can set ClassFormula to calculate the cell class name according to any condition. For example to assign different class to value between -3 and 3. The CSS classes are defined inside HTML page.
    By the Class you can specify font, text color and other text attributes. The Class should not set background color, see Color attribute below.
  • Calculated


    attribute. You can set ColorFormula to calculate the cell background color according to any condition.
    You can also calculate the individual RGB parts of the color from the cell value to achieve color scale according to the values.
    For example Col1Color="Value+',0,0'" displays scale in red color. Remember, the RGB parts must be in range 0-255, otherwise the color will be completely different.
  • Calculated


    attribute. You can set IconFormula to calculate left side icon according to any condition. The icon can be clickable to run some action (correction) on click.
  • Calculated


    and / or HtmlPostfix. You can set HtmlPrefixFormula to append before the cell value any HTML code calculated according to any condition.
    By the HtmlPrefix you can show for example the gauge according to the cell value.