Hi,
It’s a while perspective alarm status alarm table release and we still doesn’t have row select event. This feature is really deal breaker for many client specially those with DCS background.
Most client want when double click on an alarm related HMI open automaticaly or some kind of other information shown.
So is there any plan to add this simple feature in 8.1.1 or 8.1.2?
Any update for this?
We did not add a RowSelect Event, but there is now a selection
property available in 8.1.3 which provides all of the information the Alarm Status Table has for all selected alarms. You also have the ability to limit selection to single rows or no selection at all.
Do you have an example of how to use the selection property on the alarm journal table, I'm getting errors in the logs trying to things the normal table has and there's no documentation on it.Thanks, jake
What is it that you're trying to achieve?
When a row (or rows) is selected in the Alarm Status Table the props.selection.active.data
array will be populated with an object or objects depending on props.selection.active.mode
. Note that whether "single" or "multiple", the data
prop will always be a list. The object or objects in that list will always have this structure:
You could then use some external UI like a button to reference the properties of the selected row via a reference like this:
alarmName = self.getSibling("Table").props.selection.active.data[0].name
Be aware that such a script would raise an IndexError if no selection is made, so consider scenarios where there is no selection.