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 using the IIsActiveRow/IIsActiveDeletedRow feature and grid persistence, persistSettings() should be called when the 'include deleted' toggle is clicked.
Workaround in ...Grid.ts:
protected createIncludeDeletedButton(): void {
super.createIncludeDeletedButton();
// Call persistSettings() after user clicked on IncludeDeletedToggle
this.toolbar.element.find(".s-IncludeDeletedToggle").click((e) => {
if (this.gridPersistanceFlags().includeDeleted !== false) {
// Detect if click event was triggered by user and not by restoreSettings()
if (e.originalEvent != null) {
this.persistSettings(null);
}
}
});
}
This discussion was converted from issue #5296 on December 15, 2020 06:59.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using the IIsActiveRow/IIsActiveDeletedRow feature and grid persistence, persistSettings() should be called when the 'include deleted' toggle is clicked.
Workaround in ...Grid.ts:
Beta Was this translation helpful? Give feedback.
All reactions