We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d85243f commit 1c88e30Copy full SHA for 1c88e30
projects/igniteui-angular/src/lib/grids/grid-navigation.service.ts
@@ -256,10 +256,10 @@ export class IgxGridNavigationService {
256
if (!this.isToggleKey(key) || !row) { return; }
257
258
if (!row.expanded && ROW_EXPAND_KEYS.has(key)) {
259
- !row.rowID ? row.toggle() :
+ row.rowID === undefined ? row.toggle() :
260
this.grid.gridAPI.set_row_expansion_state(row.rowID, true, event);
261
} else if (row.expanded && ROW_COLLAPSE_KEYS.has(key)) {
262
263
this.grid.gridAPI.set_row_expansion_state(row.rowID, false, event);
264
}
265
this.grid.notifyChanges();
0 commit comments