@zambezi/grid
Advanced tools
Comparing version 0.5.0 to 0.6.0-nested-rows.0
{ | ||
"name": "@zambezi/grid", | ||
"version": "0.5.0", | ||
"version": "0.6.0-nested-rows.0", | ||
"description": "D3 component for drawing financial grids.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -18,2 +18,3 @@ import { calculateColumnLayout } from './calculate-column-layout' | ||
import { createSortRows } from './sort-rows' | ||
import { createUnpackNestedRows } from './unpack-nested-rows' | ||
import { dispatch as createDispatch } from 'd3-dispatch' | ||
@@ -53,2 +54,3 @@ import { ensureData } from './ensure-data' | ||
, call(createMarkRowIndices()) | ||
, call(createUnpackNestedRows()) | ||
, call(createSortRows()) | ||
@@ -55,0 +57,0 @@ , call(processRowData) |
export { createGrid } from './grid' | ||
export { createNestedRowExpanders } from './nested-row-expanders' | ||
export { unwrap } from './unwrap-row' | ||
export { updateTextIfChanged } from './update-text-if-changed' | ||
export { unwrap } from './unwrap-row' |
// Create a new proxy object on which we'll set the grid's transient properties. | ||
// We can still access the original row's properties through it. | ||
export function wrap(row) { | ||
if (row.wrapped) return row | ||
if (row.wrappedByGrid) return row | ||
const wrappedRow = Object.create(row) | ||
@@ -6,0 +6,0 @@ Object.defineProperty(wrappedRow, 'wrappedByGrid', { value: true }) |
@@ -6,3 +6,2 @@ Summary | ||
- Basics | ||
@@ -12,2 +11,3 @@ - [Row and cell events](man/row-and-cell-events.md) | ||
- Advanced | ||
- [Nested rows](man/nested-rows.md) | ||
- [Server side filter and sorting](man/server-side-filter-and-sort.md) | ||
@@ -14,0 +14,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
400041
64
4868