We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbab3ef commit 3f54732Copy full SHA for 3f54732
packages/grid/src/grid/gridFunctions/renderRowSelector.ts
@@ -59,15 +59,15 @@ export function renderRowSelector(
59
60
// helper to add class so we can override color when row is modified
61
function isModified(rowData: Entity) {
62
- if (rowData.__controller.__isDeleted) {
+ if (rowData?.__controller?.__isDeleted) {
63
return 'row-is-deleted';
64
}
65
66
- if (rowData.__controller.__isNew) {
+ if (rowData?.__controller?.__isNew) {
67
return 'row-is-new';
68
69
70
- if (rowData.__controller.__edited) {
+ if (rowData?.__controller?.__edited) {
71
return 'row-is-modified';
72
73
0 commit comments