@one-grid-core/angular 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -296,6 +296,16 @@ export declare class OneGridBodyComponent<T> implements OnInit, AfterViewInit, O
296
296
  * configured per column, and that nothing had ever forwarded to it. Column
297
297
  * config goes first so the grid's own fields win a name collision.
298
298
  */
299
+ /**
300
+ * Cached per cell, keyed on the identities that mean "this cell changed":
301
+ * its cellStates object (replaced on every edit and state refresh) and its
302
+ * data object. Building a fresh object per call — which a template method
303
+ * does per change-detection pass — made the renderer directive see "params
304
+ * changed" every pass and re-run the component's oneInit each time. A
305
+ * renderer whose oneInit touched grid state (a custom tree expander is the
306
+ * classic case) then re-triggered change detection and looped forever.
307
+ */
308
+ private rendererParamsCache;
299
309
  protected rendererParams(node: OneRowNode<T>, column: OneColumnDef<T>): OneCellRendererParams<T>;
300
310
  /**
301
311
  * `aria-rowindex` is 1-based over the whole grid, not over what is rendered.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@one-grid-core/angular",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "OneGrid — a feature-rich Angular data grid component with tree data, master/detail, editing, selection, pagination, and virtual scrolling.",
5
5
  "keywords": [
6
6
  "angular",