# How to disable mouse right button click on Alarm Status Table component's header in perspective project?

**URL:** <https://forum.inductiveautomation.com/t/how-to-disable-mouse-right-button-click-on-alarm-status-table-components-header-in-perspective-project/68013>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [December 28, 2022, 5:17am UTC](https://forum.inductiveautomation.com/t/how-to-disable-mouse-right-button-click-on-alarm-status-table-components-header-in-perspective-project/68013 "2022-12-28T05:17:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![UnSuk\_Song](https://avatars.discourse-cdn.com/v4/letter/u/3ab097/32.png) [@UnSuk\_Song](https://forum.inductiveautomation.com/u/UnSuk_Song)\
**Post date:** [January 3, 2023, 7:14am UTC](https://forum.inductiveautomation.com/t/how-to-disable-mouse-right-button-click-on-alarm-status-table-components-header-in-perspective-project/68013/4 "2023-01-03T07:14:54Z")

</div>

I resolved this problem by style injection(a.k.a css injection).  
The key is not to expose internal information of our system to customers by activating attributes(columns) such as 'Source' and 'Display Path'.

Of course I know that CSS injection is just a mimic, not a proper prescription.  
Just share the way of mimic.

1. Create style to be applied to Alarm Status Table component.  

2. Fill the property `background-color` with following value, click OK.

3. Apply the style to Alarm Status Table.

4. Done. You can both left and right click, but cannot see the alarm table configuration menu.

I'll check Ignition `v8.1.22` or later to try new feature further.

> [@New Stylesheet resource](https://forum.inductiveautomation.com/t/new-stylesheet-resource/64787):
>
> Starting with the 10/4/2022 Nightly (8.1.22) build, users will be able to modify a new styling resource: stylesheet.css This new resource is considered an advanced feature and will not be in place by default. To place the resource, expand the Perspective node of the Project Browser, right-click the Styles node, and select "Enable Advanced Stylesheet". [EnableStylesheet] Once in place, the stylesheet allows for inserting CSS just as you would in any normal CSS file. The rules defined in this r…

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-disable-mouse-right-button-click-on-alarm-status-table-components-header-in-perspective-project/68013)._
