Dynamically collapse objects with no new alarms and expand objects with new alarms by using CSS

Article ID: 2160
Last updated: 30 May, 2018
Article ID: 2160
Last updated: 30 May, 2018
Revision: 3
Views: 659
Posted: 23 Jun, 2010
by Dean J.
Updated: 30 May, 2018
by Gargani A.

Question

How do I dynamically collapse objects with no new alarms and expand objects with new alarms by using CSS?

Answer

This sample shows how to, through CSS, dynamically collapse objects that have no new alarms and expand objects for which new alarms are generated.

You achieve this by using the following CSS segment:

object."ilog.tgo.model.IltNetworkElement" {

//Needed if using JTGO 3.5

//expandOnNewAlarms: false;

collapsed: true;

}

object."ilog.tgo.model.IltNetworkElement"["newAlarmCount"] {

collapsed: false;

}

Attached is a complete working sample that illustrates the above.

Download Sample

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2160
Last updated: 30 May, 2018
Revision: 3
Views: 659
Posted: 23 Jun, 2010 by Dean J.
Updated: 30 May, 2018 by Gargani A.
Also listed in


Others in this category