removeWidget
Class: slmetric.dashboard.Layout
Namespace: slmetric.dashboard
(To be removed) Remove widget from slmetric.dashboard.Layout
object
The Metrics Dashboard user interface, metricdashboard
function, slmetric
package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.
Description
removeWidget(
removes a widget from an dashboardLayout
,widget in array
)slmetric.dashboard.Layout
object. You can remove
these widgets from the Metrics Dashboard:
slmetric.dashboard.Group
slmetric.dashboard.Container
slmetric.dashboard.CustomWidget
slmetric.dashboard.Widget
Use the getWidgets
method to identify widgets that you
want to remove from a slmetric.dashboard.Layout
object.