Project

General

Profile

Actions

Feature #41787

closed

mgr/dashboard: Improve workaround to redraw datatables

Added by Volker Theile over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
General
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
nautilus
Reviewed:
Affected Versions:
Pull request ID:

Description

The current approach to workaround the issue that datatables are not rendered correctly when they are part of a tab and the user switches between those tabs is to fire a 'resize' event to force the datatable to redraw the grid with correct column widths. This approach is like using a sledgehammer to crack a nut. The new approach simply uses Angular's change-detection mechanism. The datatable is marked as changed and Angular will do the rest for us. This should also finally solve the error that variables have been changed after Angular's change-detection has been done.


Related issues 2 (0 open2 closed)

Related to Dashboard - Bug #41615: mgr/dashboard: Empty datatable rendered before data has been fetchedResolvedVolker Theile

Actions
Copied to Dashboard - Backport #42151: nautilus: mgr/dashboard: Improve workaround to redraw datatablesResolvedVolker TheileActions
Actions #1

Updated by Volker Theile over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #2

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #42151: nautilus: mgr/dashboard: Improve workaround to redraw datatables added
Actions #3

Updated by Nathan Cutler over 4 years ago

  • Related to Bug #41615: mgr/dashboard: Empty datatable rendered before data has been fetched added
Actions #4

Updated by Lenz Grimmer almost 4 years ago

  • Status changed from Pending Backport to Resolved
Actions #5

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General
Actions

Also available in: Atom PDF