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
FastGrid documentation
Search in documentation
FastGrid versions compatibility

Changes log (txt file) Compare FastGrid 1.0 & TreeGrid 17.1

Using in JavaScript frameworks

Angular Ember Express React Svelte Vue Other frameworks NodeJS server SalesForce LWC

Data and creating FastGrid

Simple examples of creating FastGrid Create FastGrid Display grid Access grid by API Sheets, more grids switched in one place Layout and configuration Data rows, columns, toolbars, images Changes in data rows, columns, toolbars Saving changes to server Mark changes Loading children on expand parent Short format

Layout - grid parts

Parts - ColParts and RowParts Part size Part scroll position Sets Column sets Row sets

Toolbars

Toolbar Cells Icon Height Width Toolbar position Dragging and manipulating cells Special toolbars

Rows and columns
Default rows, columns, cells, toolbars
Row and column identity

Row / column id Row / column index Row / column name

Row and column manipulation

API to get grid objects Auto added columns & rows on scroll Blocks of rows / columns Adding / copying / moving Deleting Showing and hiding Layout menu Selecting rows and columns Fill cell values by dragging Locking grid against changes Undo & redo

Row and column tree

Row and column tree Row tree Column tree Expand & collapse

Cells
Cell values and attributes

Read and write any values by API Cell value Cell attributes Cell value & attributes in UTF8 Store

Editing cells

Editing During editing Validation and errors

Cell images

Row cell side icons Icons definition Mark icons and charts Mark icons list Row cell floating images

Cell size

Row height Column width Resizing rows and columns Padding Margin Cell span

Cell style

Grid style and look Cell style permissions Cell style Cell outer border Cell inner border Alternate row & column background

Other cell features

Cell hyperlink Cell tooltip Static cells Other cell attributes Row & column attributes to speed up

Cell types and formats
Cell type and format Range - more values / ranges in cell String type Html type Auto type
Bool type

Bool type Check side icon Bool type & Check side icon

Number type

Format Localization

Date type

Format Localization Calendar

Calculations - formulas
JavaScript formulas

JavaScript formulas Aggregate functions String aggregate functions Other functions

Editable formulas

Formula rules Formula attributes Defined names for editable formulas 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

Dialogs and menus

Dialog Dialog Place Dialog API Menu definition in Script Cell menu List Suggest

Features
Sorting rows / columns

Sorting Sorting settings Comparing strings

Grouping rows / columns

Grouping Grouping settings Comparing strings Pivot grid

Filtering rows and columns

Filtering Filter settings Comparing strings

Search in cells Import files to grid
Export files

Export files Export and copy to clipboard CSV data

Copy & paste via system clipboard

Copy & paste Copy to clipboard Paste from clipboard

Printing

Print Print to PDF

Global grid settings
Grid size & scroll

Grid size Grid scrollbars Paging and view Media rules - responsive design

Saving settings in storage or cookies
Focus and hover cells

Focus cell and cell ranges Mouse hover cells Highlight cells, rows and columns

Events

Mouse events Key events API events

Language

Translation Languages

Messages

Message Message style

Other API

API for iterating rows and columns Paint and repaint Various API methods

Debug & files

Debugging FastGrid files

UTF8 Store - fast & short data
Introduction - License & download

Basic description Main advantages Basic usage License Download Documentation

Script language implementations

JavaScript C# JAVA PHP

Suggested ucodes

Bits - small integers or enums Integers or enums with strings Date and time Floating point numbers Special strings

Basic ucodes

Integer 1 char String 1 char Date 1 char Bits 1 char Integer 2 chars String 2 chars Date 2 chars Float 2 chars Integer 3 chars String 3 chars Date 3 chars Integer and double float 5 chars String 5 chars Date 5 chars Fixed length string Separated strings Adjacent strings Prefix for escaping string Fixed length data Unused custom codes Prefix for stored separator or length Prefix for stored base number Unused basic ucodes

Complex ucodes

chars signed decimals multiple limits varstrings escape base chars2 signed2 decimals2 multiple2 limits2

Internal coding Profiling times for ucode options Function reference

Script language implementations in UTF8 Store

UTF8 Store documentation; version 1.0

JavaScript

Defined in file UTF8Store.js.
All functions are static methods of global object UTF8Store.
If loaded FastGrid (FGridE.js), all the functions are also static methods of global object FGrid.
The implementation is shared with FastGrid, but they are independent.
JavaScript samples

Basic: var U1 = UTF8Store.WriteValue(123,0x1), o1 = UTF8Store.ReadValue(U1,0x1); console.log("'"+U1+"': "+o1);
Texts: var texts = [], U2 = UTF8Store.WriteValue("abcd",0x3,0,texts), o2 = UTF8Store.ReadValue(U2,0x3,0,texts); console.log("'"+U2+"' ["+texts+"]: "+o2);
Bits: var ucodes = [0xB,0x8,0xB,0xC,0xD,0x9], U3 = UTF8Store.WriteValues([1,100,0,3,7,50],ucodes), O3 = UTF8Store.ReadValues(U3,ucodes); console.log("'"+U3+"': "+O3);
Date: var ucode4 = UTF8Store.AddToUCode(0x14,new Date("1/1/2020")), U4 = UTF8Store.WriteValue(new Date("12/21/2020 12:34:56"),ucode4), o4 = UTF8Store.ReadValue(U4,ucode4); console.log("'"+U4+"': "+o4);
Float: var ucode5 = UTF8Store.GetUCode(2,1,4), U5 = UTF8Store.WriteValue(-12345.6789,ucode5), o5 = UTF8Store.ReadValue(U5,ucode5); console.log("'"+U5+"': "+o5);

C#

Non-nullable defaults implementation for C# 8+ is defined in file UTF8Store.cs.
Backward compatible nullable implementation for C# 7- is defined in UTF8Store7.cs.
All functions are static methods of UTF8Store static class.
There is defined value type struct UTF8Store.Value as universal value containing integer, double, string or date time. The UTF8Store functions use the UTF8Store.Value type by default, especially for returning values.
The UTF8Store functions accept also universal object with primitive type, string or DateTime as value to store.
There is defined reference type class UTF8Store.Strings to create updatable array of unique strings with indexes and also sortable by count of Add() access. Used for filling texts and utexts.
C# samples

Basic: string U1 = UTF8Store.WriteValue(123,0x1); int o1 = UTF8Store.ReadValue(U1,0x1); Console.WriteLine("'"+U1+"': "+o1);
Texts: UTF8Store.Strings texts = new UTF8Store.Strings(); string U2 = UTF8Store.WriteValue("abcd",0x3,0,texts); string o2 = UTF8Store.ReadValue(U2,0x3,0,texts); Console.WriteLine("'"+U2+"' ["+texts+"]: "+o2);
Bits: int[] ucodes = new int[]{0xB,0x8,0xB,0xC,0xD,0x9}; string U3 = UTF8Store.WriteValues(new UTF8Store.Value[]{1,100,0,3,7,50},ucodes); UTF8Store.Value[] O3 = UTF8Store.ReadValues(U3,ucodes); Console.WriteLine("'"+U3+"': "+UTF8Store.Value.Join(",",O3));
Date: int ucode4 = UTF8Store.AddToUCode(0x14,new DateTime(2020,1,1)); string U4 = UTF8Store.WriteValue(new DateTime(2020,12,21,12,34,56),ucode4); DateTime o4 = UTF8Store.ReadValue(U4,ucode4); Console.WriteLine("'"+U4+"': "+o4);
Float: int ucode5 = UTF8Store.GetUCode(2,1,4); string U5 = UTF8Store.WriteValue(-12345.6789,ucode5); double o5 = UTF8Store.ReadValue(U5,ucode5); Console.WriteLine("'"+U5+"': "+o5);

JAVA

Defined in file UTF8Store.java or UTF8Store.jsp
All functions are static methods of UTF8Store static class.
All the UTF8Store functions accept and return universal object with primitive type, string or LocalDateTime.
There is defined type class UTF8Store.Strings to create updatable array of unique strings with indexes and also sortable by count of add() access. Used for filling texts and utexts.
JAVA samples

Basic: String U1 = UTF8Store.WriteValue(123,0x1); int o1 = UTF8Store.ReadInt(U1,0x1); System.out.println("'"+U1+"': "+o1);
Texts: UTF8Store.Strings texts = new UTF8Store.Strings(); String U2 = UTF8Store.WriteValue("abcd",0x3,0,texts); String o2 = UTF8Store.ReadString(U2,0x3,0,texts); System.out.println("'"+U2+"' ["+texts+"]: "+o2);
Bits: int[] ucodes = new int[]{0xB,0x8,0xB,0xC,0xD,0x9}; String U3 = UTF8Store.WriteValues(new Object[]{1,100,0,3,7,50},ucodes); Object[] O3 = UTF8Store.ReadValues(U3,ucodes); System.out.println("'"+U3+"': "+UTF8Store.Join(",",O3));
Date: int ucode4 = UTF8Store.AddToUCode(0x14,LocalDate.of(2020,1,1)); String U4 = UTF8Store.WriteValue(LocalDateTime.of(2020,12,21,12,34,56),ucode4); LocalDateTime o4 = UTF8Store.ReadDateTime(U4,ucode4); System.out.println("'"+U4+"': "+o4);
Float: int ucode5 = UTF8Store.GetUCode(2,1,4); String U5 = UTF8Store.WriteValue(-12345.6789,ucode5); double o5 = UTF8Store.ReadDouble(U5,ucode5); System.out.println("'"+U5+"': "+o5);

PHP

Defined in file UTF8Store.php.
All functions are static methods of class UTF8Store.
There is defined class UTF8Strings to create updatable array of unique strings with indexes and also sortable by count of add() access. Used for filling texts and utexts.
PHP samples

Basic: $U1 = UTF8Store::WriteValue(123,0x1); $o1 = UTF8Store::ReadValue($U1,0x1); echo "'$U1': $o1\n";
Texts: $texts = new UTF8Strings(); $U2 = UTF8Store::WriteValue("abcd",0x3,0,$texts); $o2 = UTF8Store::ReadValue($U2,0x3,0,$texts); echo "'$U2' [$texts]: $o2\n";
Bits: $ucodes = [0xB,0x8,0xB,0xC,0xD,0x9]; $U3 = UTF8Store::WriteValues([1,100,0,3,7,50],$ucodes); $O3 = UTF8Store::ReadValues($U3,$ucodes); echo "'$U3': ".join(",",$O3)."\n";
Date: $ucode4 = UTF8Store::AddToUCode(0x14,new DateTime("1/1/2020")); $U4 = UTF8Store::WriteValue(new DateTime("12/21/2020 12:34:56"),$ucode4); $o4 = UTF8Store::ReadValue($U4,$ucode4); echo "'$U4': ".$o4->format("m/d/y h:i:s")."\n";
Float: $ucode5 = UTF8Store::GetUCode(2,1,4); $U5 = UTF8Store::WriteValue(-12345.6789,$ucode5); $o5 = UTF8Store::ReadValue($U5,$ucode5); echo "'$U5': $o5\n";