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

UTF8 Store

UTF8 Store documentation; version 1.0

UTF8 Store is a free script that converts any numbers, dates, strings and special values into one Unicode string and reads the values back.

write all values (int / float / date / string / error) => UTF8Store (single string) => read any single or more values (int / float / date / string / error)

Basic description

UTF8 Store is a script that converts any numbers, dates, strings and special values into one Unicode string.
The values storage is optimized to be as short as possible when the Unicode string is saved in UTF8 encoding.
The generated string contains only safe Unicode JavaScript string characters (also without double quotes and backslash).

Storage type is specified by 32bit integer called "ucode" that is passed to every read and write function.
The ucode must be the same for the value write and read.
There are many ucode options for various value types and ranges.

The UTF8 Store string contains only the stored values; to read the value you have to know its ucode type and its position in the UTF8 Store string.
The UTF8 Store is designed to save values of tables, where column value types (ucode) and their positions are the same for every row that is saved to the UTF8 Store.

Main advantages

Any value from the UTF8 Store string can be read directly and very fast without any parsing or decompressing other values or the whole UTF8 Store string.

The UTF8 Store string allocates remarkably less memory (many times less) than any array of the stored numbers, dates or strings.

The UTF8 Store string can be sent raw from server to client or back without any changes. It is shorter than any other format and can be also effectivelly zip compressed by server.

Basic usage

1) Find ucodesAnalyze your table data and find the best ucodes for individual columns.
Optionally use FindUCode method to find the best ucodes from data automatically.
2) Find positionsCalculate the column value positions (in characters) in the UTF8 Store string.
Optionally use GetUCodeSize method to get number of characters the individual ucode data allocates in the UTF8 Store string.
3) Write valuesCode all cells from rows from your table data to UTF8 Store string by WriteValue or WriteValues methods.
4) Transfer stringOptionally send the UTF8 Store string from server to client or vice versa or do any other string transfer.
5) Read value(s)Read any value from the UTF8 Store string by ReadValue or ReadValues methods. Use appropriate ucode and position as (row_position * row_size + column_position).

License

UTF8 Store is part of FastGrid development, but can be used also separately without FastGrid in any project.

Using UTF8 Store is free of charge, but the UTF8 Store script source codes must not be modified.

Download script

JavaScript
UTF8Store.js.zip
UTF8Store code in plain JavaScript ES5 (ECMAScript 5).
Contains only one file UTF8Store.js with full UTF8Store code compatible with Node.js, with all current browsers and also with old browsers including IE11.
C#
UTF8Store.cs.zip
UTF8Store code in .NET C# 7 and 8+
Contains file UTF8Store.cs for C# 8+ with nullable reference types and non-nullable defaults.
Contains file UTF8Store7.cs for C# 7- without nullable reference types.
JAVA
UTF8Store.java.zip
UTF8Store code in JAVA 8+ and JSP.
Contains file UTF8Store.java with full UTF8Store code.
Contains file UTF8Store.jsp with the same code as UTF8Store.java, but inside <% %> to be easily included into JSP page .
PHP
UTF8Store.php.zip
UTF8Store code in PHP 7.2+.
Contains only one file UTF8Store.php with full UTF8Store code.

Documentation
Script language implementationsHow to use in JavaScript, C#, JAVA and PHP.
Suggested ucodesList of value types and ranges with suggested ucodes for them.
Basic ucodesFull list of the basic ucodes used mostly for small integer numbers, dates, times and strings.
Complex ucodesFull list of the complex ucodes used mostly for big integer and floating point numbers.
Internal codingInternal information, how the values are coded into the UTF8 string.
Profilling times for ucode optionsHow long takes reading and writing value in various ucode options.
Function referenceDescribes all UTF8Store object static functions.