igxCell isAddRow
New DiscussionI am currently adding using the beginAddRowByIndex function, and one thing I noticed is that when I add a row with the following columns, a placeholder value (header text) is shown in the entityId and description columns, but not the dataType column.
{{val | lookup: dataTypesLookup}}
After digging through the cell.component.html file, I noticed that in the #addRowCell template, it's using a property called isEmptyAddRowCell to conditionally render the cell value, or the header. Given an ng-template with the igxCell directive, is there any way to determine the following:
- If the cell.row is a new row, aka, isAddRow. I see some stuff in the codebase like let-row, but that yields undefined for me.
- Is there a way to get access to the parent IgxGridCellComponent component, so that the its properties like isEmptyAddRowCell and template can be used?
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
7 Created On
Jan 06, 2022 Last Post
4 years, 8 months ago