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
When the ng-csp (link) is specified, then columns, whose field property is the empty string, display the entire row as JSON string. Although columns with empty fieldand no cellTemplate would be a rare, niche case, they are encountered when grouping is enabled (showGroupPanel: true).
Steps to reproduce
Specify ng-csp at the <html>
Include a ng-grid specifying showGroupPanel: true in the grid options
Group by a column, then expand the grouping row with the triangle.
When the
ng-csp
(link) is specified, then columns, whosefield
property is the empty string, display the entire row as JSON string. Although columns with emptyfield
and nocellTemplate
would be a rare, niche case, they are encountered when grouping is enabled (showGroupPanel: true
).Steps to reproduce
ng-csp
at the<html>
ng-grid
specifyingshowGroupPanel: true
in the grid optionsA plunk, forked from the examples, demonstrating the problem: http://plnkr.co/edit/yLdkQlw08wN9j0sqjq3I
Bug
Hint for solution
This line appends the
field
to the expression'row.entity.'
without checking it for emptiness,null
,undefined
.The text was updated successfully, but these errors were encountered: