zambezi / grid

D3 component for drawing grids
MIT License
4 stars 2 forks source link

Nested rows #12

Closed gabrielmontagne closed 8 years ago

gabrielmontagne commented 8 years ago

Description

This PR provides add programmatic support for nested rows, as well as a "stock" column component for displaying, expanding, and collapsing these rows.

An example, running from a prerelease version, can be seen here, http://bl.ocks.org/gabrielmontagne/d4df15d27a5ebb9585ce97e70f988471

Motivation and Context

Hierarchical display of data is important in grids. "Nested rows" are a basic element on top of which other features can be built, for example, automatic row grouping.

How Was This Tested?

This was tested on an example rig, added to the examples on the repo. A demo is provided above.

Types of changes