When displaying the Event column in the Alarm tab of CA Spectrum OneClick, sometimes the event has several lines of data which causes the column to take up most of the view. This tech doc will show you how to disable the word wrap in the Alarms tab Event column in Spectrum OneClick.
The word wrap for the Events column in the Alarms tab of Spectrum OneClick can be removed by doing the following one the OneClick system as the user that owns the OneClick installation:
<!--
<renderer-class>
com.aprisma.spectrum.app.swing.table.render.TextAreaCellRenderer
<param name="html">true</param>
</renderer-class>
-->
5. Edit the $SPECROOT/custom/alarm/config/alarm-table-config.xml file. Add the following highlighted <column> tag above the column tag for the for the out of the box column-alarmevent-config:
<column idref="column-alarmevent-nowarp-config">
<hidden-by-default>true</hidden-by-default>
<default-width>200</default-width>
</column>
<column idref="column-alarmevent-config">
<hidden-by-default>true</hidden-by-default>
<default-width>200</default-width>
</column>
6. Log out and then log back into OneClick.
You will now have available two Event column choices. One for a wrapped Event column and one for a no wrapped Event column. Both are hidden by default.
The following is an example of how the two different Event columns display the same event information: