Back

VibeFox JS Grid — Demo

Quick start

Plain HTML

Typed columns, a check box column, a heatmap column with a sum in the totals row, the status bar and a quick search with the query syntax. Click a header to sort, double-click a name to edit it.

Columns

Column definitions

A pinned name column, number, date, select and boolean columns with their own formats and alignment.

Column groups (multi-level headers)

Two levels of column groups above the column headers; "Employee" is collapsible: click its toggle to hide or show the City column.

Columns tool panel and grouping panel

The columns panel on the right (show / hide, pin, reorder) and the grouping panel above the grid with one grouping level. Drag a column header into the grouping panel to add a level.

Cell renderers and editors

Renderers

An HTML renderer for a status badge and a lifecycle renderer that mounts a progress bar in every visible cell.

Editors

The built-in rich select editor of the City column, opened with beginEdit(). Pick a city, then double-click another City cell.

Rows and data

Tree data

Nested rows with expand / collapse toggles and indentation; click a toggle to collapse a branch.

Pinned rows and the new-row input

The new-row input pinned at the top and a totals row pinned at the bottom (computed from the filtered rows). Type a name and a salary in the top row and press Enter.

Master / detail

A master row expanded with a nested grid of its orders; click the toggle of Globex to open its orders too.

Merged cells

Equal values of the Department column merged into one cell (rowSpan: true).

Pagination and the status bar

Pages of 10 rows with the pager and the status bar; switch pages or the page size in the pager.

Editing and change tracking

Change tracking

Edited cells get a marker; the status bar counts the unsaved changes. Double-click a cell and change it to add one more.

Fill handle

A selected cell range with the fill handle at its corner (cell selection mode). Drag the handle down to continue the series 1, 2, 3…

Selection and clipboard

Row selection with the check box column; three rows are selected. Click the check boxes to change the selection.

Sorting, filtering and search

Sorting

Sorting by two columns: department ascending, then salary descending. Click a header to sort by it.

Header filters

The City column is filtered to Berlin and Paris. Click the filter button of the City header to open its menu: sorting, two conditions and the list of values.

Filter builder

The filter builder with a nested OR group.

Quick search and query syntax

The quick search salary>60000 city:berlin keeps the rows that match both terms.

Grouping, totals and pivot

Row grouping

Rows grouped by department with the average salary in the group rows and the totals row; click a group toggle to collapse it.

Pivot mode

Sales by region and city (rows) and quarter (columns) with subtotals and grand totals.

Formulas

Computed columns

The Total column computes =[@price]*[@qty] for every row.

Formulas in cells

Cells with formulas; the editor of the last cell shows the formula with colored references.

Conditional formatting

A highlight rule, data bars, a three-color scale and an icon set.

Sparklines and range charts

Sparkline cells

Line, column and win / loss sparklines from four fields of each row.

Charts of a cell range

A column chart of three quarters, drawn by the grid's own SVG chart in a panel of the grid.

Large data

Virtual scrolling

100 000 rows × 50 columns, scrolled to the middle: only the visible cells are in the page. Scroll it in both directions.

Natural-language queries

The query bar after the question "from Berlin or Paris, sort by salary descending": the commands are shown before they are applied. Apply them, or type your own question.

Theming and styling

Themes

Pick a theme in the list above the grid: light, dark, paper, ocean, sunset or graphite-dark (vibefox-js-themes.css linked for the pack themes).

CSS variables

Taller rows, a colored header and a custom selection color, set as CSS variables of this grid.

Ready-made styles

Pick one of the nine ready-made styles in the list above the grid: default, compact, zebra, grid, minimal, cards, finance, report, spreadsheet.

Density and size

The compact density on the page container: rows, header and paddings get smaller.

Localization and RTL

Languages

The grid in Russian: load the language pack vibefox-js-grid.ru.js after the library and set locale: 'ru'. Menus, the pager and the status bar are translated.

Right-to-left

The option rtl: true: columns start on the right, the pinned column is at the start of the row.

Accessibility

Keyboard

The keyboard help dialog (Ctrl+/ or F1, or showKeyboardHelp()). Close it, click a cell and move with the arrow keys.

Bug Report

Thank you for helping us improve. We carefully review every report, but we do not reply to them individually. If your report leads to a change, it will be listed in the product changelog together with the report number. To discuss something in detail, please open a support ticket.

Slide to fit the puzzle