zambezi / grid

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

Expand the "pinned row" concept to use a predicate instead of a property #21

Closed cristiano-belloni closed 8 years ago

cristiano-belloni commented 8 years ago

Description

Allow predicates instead of pinned property.

Motivation and Context

In order to make the grid more configurable, we expanded the concept of "pinned row" to use a predicate that says if the row is always shown, even when the parent is collapsed or not. This is built on top of #18 and it will behave the same (i.e. it will support one level of depth)

How Was This Tested?

Manually, see this updated gist.

Types of changes