You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-5
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,18 @@
2
2
3
3
All notable changes for each version of this project will be documented in this file.
4
4
5
-
6
-
## 12.1.5
5
+
## 12.1.6
7
6
8
7
### New Features
9
8
-`igxGrid`, `igxHierarchicalGrid`, `igxTreeGrid`
10
-
- Added a public method that spawns the add row UI for an arbitrary record in the current data view. It accepts a rowID (PK when one is defined, index otherwise). You can also pass `null` to spawn the UI as the very first record. Please, note that the new record is still added at the end of the data view, after the end-user submits it.
9
+
- Added two public methods that spawn the add row UI for an arbitrary record in the current data view. One that accepts a rowID to use as the row the UI spawns under and the other specifying the index at which to spawn it. Please, note that the new record is still added at the end of the data view, after the end-user submits it.
11
10
```typescript
12
-
this.grid.beginAddRow('ALFKI'); // spawns the add row UI under the row with PK 'ALFKI'
13
-
this.grid.beginAddRow(null); // spawns the add row UI as the first record
11
+
this.grid.beginAddRowById('ALFKI'); // spawns the add row UI under the row with PK 'ALFKI'
12
+
this.grid.beginAddRowById('ALFKI', true); // spawns the add row UI to add a child for the row with PK 'ALFKI'
13
+
this.grid.beginAddRowById(null); // spawns the add row UI as the first record
14
+
this.grid.beginAddRowByIndex(10); // spawns the add row UI at index 10
15
+
this.grid.beginAddRowByIndex(10, true); // spawns the add row UI to add a child for the row at index 9
16
+
this.grid.beginAddRowByIndex(0); // spawns the add row UI as the first record
0 commit comments