Deselect in Alarm Status using script

Hi everyone,

Does anyone know if there's a way to programmatically deselect all rows in the Alarm Status Table via scripting?

I've tried setting active.data to None and also to an empty list, but neither method worked.

Any guidance or suggestions would be greatly appreciated!

Thanks!

Set the props.selection.mode to none. That will tell the browser, which will deselect everything. Use a property change event script on props.selection.data to detect when the list is cleared, and set the selection mode back to what it was.

(Check that something is selected before setting the mode to none.)

Hi pturmel,
Thank you so much! This worked perfectly—I appreciate your clear explanation and helpful suggestion :slight_smile: :raised_hands:

Variations of this technique apply to any of the Perspective components that allow row selection, fwiw.

1 Like