Cell type Cell format Dynamic format Dynamic type Cell value Reading / writing attributes by API Cell HTML Cell default Range or more values in one cell Cell with link URL Cell hint Cell tooltip / title Cell popup menu
Basics Suggest list (auto complete) Defined names Actions for choosing cells Conditional functions Lookup functions Cell reference functions Logical functions Informational functions Mathematical functions Trigonometry functions Rounding numbers Number conversions String functions Date functions Summary functions Custom functions
Column basics Column index Column visibility Column visibility menu Column selecting Column tree Auto column tree Column position and moving Column adding and copying Column deleting Column width Column API
Definition of main bar and plans Main bar as Task Edit settings Main bar content and side html Tip on mouse hover Vertical position and height Style specific attributes API to manipulate Main bars Actions Side text (deprecated) Real Flow (deprecated)
GanttRun Definition Extended definition Run bar as Task Edit settings Save format Selecting Run boxes Run box content and side html Tip on mouse hover Box identification Vertical position and height Style specific attributes Overlaid (Error) boxes Containers for more boxes Dragging - moving and resizing API to manipulate Run boxes Actions Run special formulas
Introduction Data units Defining dependencies Dependency colors and shapes Changing dependencies Correcting dependencies Scheduling algorithm Project date constraints Task date constraints Critical path - Slack (Float)
Server paging for root rows Server communication in root paging Root paging in very large tables Server paging in tree Server communication in tree paging XML Request for Data in root paging XML Download Data in root paging XML Request for root Page / children XML Download root Page / children API for server paging
Status messages Configuration menus Configuration menu - options Configuration menu - columns Configuration menu - print / PDF Configuration menu - export Default toolbar Useful API function Help file
TreeGrid documentationInt type shows integer number in selected format.
|"g"||General||(ng = "0.######" , ngg = "0.###### E+00"), for numbers under 1e10 uses ng, above uses ngg.|
|"f"||Fixed||(nf = "0.00")|
|"c"||Currency||(nc = "$###########0.00")|
|"p"||Percent||(np = "0.00%")|
|"r"||Rounded||(nr = "0.0000", nrg = "0.0000 E+00"), for numbers under 1e10 uses nr, above uses nrg.|
|"e"||Scientific||(ne = "0.000000 E+000")|
|0||Place for a digit, displays digit or 0. If there are more digits than count of 0 and # in integer part, all the rest digits are written left to the first 0 or #.|
|#||Place for a digit, displays digit or nothing if there are no more digits. Has sense only for decimal part or exponent definition.|
|?||(new 13.0) Place for a digit, displays digit or empty space if there are no more digits. Has sense only for decimal part.|
(new 7.0) Hidden digit, the digit will not be displayed. Digits are always counted from decimal separator position to both sides.|
It cannot be combined with '#' in the same number part. It can be used only for left and right side of integer part or left side of decimal part.
Example: Val = "123456.789", Format = "8000" => Result = "456"; Format = "088" => Result = "1234"; Format = "8.80" => Result = "8"
(Dot) Decimal separator. Displays decimal separator defined in file Text.xml, tag <Format>, attribute DecimalSeparator. (dot by default).|
Can be only used only once.
(Comma) This character has two meanings:|
If this is placed between any digits characters ('0' or '#') left to decimal separator, there will all three digits separated by thousand separator defined in file Text.xml, tag <Format>, attribute GroupSeparator. (comma by default).
Example: Val = "123456.789", Format = ",0.00" => Result = "123,456.79"(since 10.0) It is possible to specify different number of separated digits than 3 by <Format> attributes GroupCount1 (the last group) and GroupCount (other groups).
For example for Indian number format set <Format GroupCount1='3' GroupCount='2'/>If this is placed between last digit and decimal separator (or to the end if decimal separator is not used), the value will be divided by 1000. There can be more commas to divide more times.
Example: Val = "123456.789", Format = "0,,.00" => Result = "0.12"
Place for '%' character (it is defined in file Text.xml, tag <Format>, attribute Percent). If it is present, the number is also multiplied by 100.|
To place the % character without multiplying by 100, write it with backslash "\%".
|E, e, E-, E+, e-, e+||Result will use exponential notation. To this location is placed 'E' or 'e' letter followed by digits of exponent.|
If used exponential notation, the number of digits before decimal separator is given by count of all digit places ('0' or '#') before decimal separator.|
This letter must be followed by number digit places ('0' or '#') to specify number of exponent digits.
E or e specifies case of E letter, E+ uses sign + for positive exponents, E- and E uses no sign for positive exponents.
Example: Val = "123456.789", Format = "000.000 E+00" => Result = "123.456 E+03"
Example: Val = "-0.0123456789", Format = ":0.0000(E000)" => Result = ":-1.2346(E-002)"
(Semicolon) Separates formats used according to the value size and type. |
There can be up to four default formats without condition and next more conditional formats. The conditional formats should be placed before default formats.
1st default format is used for positive numbers (and for 0 if the third format missing).
2nd default format is used for negative numbers (without minus sign).
Remember, from the negative part is read only string before number and after the number, all other (the number format) is used always from positive part.
So the negative part can be used only to remove, replace or change position of the minus or change CSS attribute like color by the prefix and postfix.
3rd default format is used for 0.
4th default format since 13.0 is used for text (in Auto type only). It can contain character @ to place actual text value here. If it does not contain the @, the actual value is not displayed.
If the 4th format is missing, the Auto type displays the text value as is.
If the 2nd or 3rd format contains the character @ it is automatically used for the text value and not for negative or zero values.
|[color]||(new 13.0) Colors the whole part (parts are separated by semicolon) in given CSS color.|
(new 13.0) Uses given part (parts are separated by semicolon) only if the value fulfills the condition.|
Condition can be: [=value], [<>value], [<value], [<=value], [>value], [>=value].
(new 13.0) (Underscore) Places space as wide as the next character after the "_". The next character is not printed.|
(new 14.0) Places actual Currency string, default is $.|
(new 15.0) (Slash) Fractional number. It is followed by number of ?, their number specifies maximal fraction-1, e.g. "/???" means 1/999.|
If followed by digits instead of ?, the whole number specifies exact fraction to display, e.g. "/16" will display 1/16 - 15/16.
(Backslash) Escape character, the next character is placed to output without any changes. Use to place format characters as 0 # . , E e + - \ " ' %.|
|'xxx' or "xxx"||
Characters in quotes or double quotes are placed to output without any changes. Use to place format characters as 0 # . , E e + - \ " ' %.|