When connected to data sources that return structured document data (such as JSON or BSON), a regular two-dimensional grid is not ideal for viewing the data. For this type of data, you get a panel that contains three different views where you can choose the one that serves your purpose best based on what data you're looking at. As a rule of thumb, the Nested View will yield the best overview, the Tree View will be the most flexible and efficient when viewing complex structures and/or large data sets, and the Text View will present the most details.

In the first release, some of the features of the regular data grids are missing. In particular, you cannot reorder columns or export data from the grid. We hope to provide these capabilities in the near future.

Nested View

Click the nested view button (A) to show a view that organizes data in expandable column header groups based on the data structure. You can expand/collapse headers (B) to focus on the data you are interested in, either by double-clicking the header or via the popup menu (right-click the header). Select a cell in the grid (C) to show the details as a key-value tree representation in the right-hand panel. Click any cell in the tree to show its details in the text panel below (D).

Choose how to show the details in the tree view:

In the text panel (D), a leaf cell is presented as plain text and you can choose to word-wrap the text to make it readable, whereas a container cell (a JSON structure) is automatically formatted based on the JSON syntax. You cannot word-wrap the formatted data.

In both cases, you can view the hexadecimal representation of the data.

Showing complex structures in the nested view may be slow since it places a heavy load on the algorithm for calculating row and column sizes.

You may have to confirm the action before opening this view on some data.

Tree View

Click the tree view button (A) to show the data in a vertical fashion where each row represents an element. This view is the most efficient way to browse complex data since the structure adapts to each row. Like the details tree in the nested view, you can expand/collapse the rows (B), choose how to present collapsed rows (C), and select a cell in the tree to show its contents in the text panel to the right (D).

Text View

Click the text view button (A) to view the data as returned by the database, one row for each document.

Click the format button (B) to format/unformat the data based on JSON syntax.

A document data set is often larger than an average relational table; loading a complete data set may consume a lot of memory, and formatting/unformatting a large data set may be slow.