@one-grid-core/angular 0.2.0 → 0.2.1
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.
|
@@ -51,6 +51,22 @@ export declare class OneGridCellService {
|
|
|
51
51
|
* which is exactly why formatting belongs here rather than in the getter.
|
|
52
52
|
*/
|
|
53
53
|
private formatValue;
|
|
54
|
+
/**
|
|
55
|
+
* The placeholder for an empty cell, or `undefined` when this row's tree
|
|
56
|
+
* depth may not be edited.
|
|
57
|
+
*
|
|
58
|
+
* `cellRendererParams.placeholder` is a prompt, not data: it renders at half
|
|
59
|
+
* opacity where the value would go, which reads as "click here and fill this
|
|
60
|
+
* in". On the auto group column `editableLevels` decides which depths accept
|
|
61
|
+
* an edit at all, so a depth outside that list was advertising an edit the
|
|
62
|
+
* grid then refuses — the cell offers no input and the prompt never clears.
|
|
63
|
+
*
|
|
64
|
+
* The suppression is scoped to columns that actually declare `editableLevels`.
|
|
65
|
+
* The list is opt-in, and a column without one has no per-level rules rather
|
|
66
|
+
* than no editable levels, so plain grids and untouched tree columns keep
|
|
67
|
+
* showing their placeholder exactly as before.
|
|
68
|
+
*/
|
|
69
|
+
private resolvePlaceholder;
|
|
54
70
|
/**
|
|
55
71
|
* Generate New Node State Based on Column Field
|
|
56
72
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@one-grid-core/angular",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
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",
|