function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matrix ReturnsMatrix Returns 

Disable a button on lightning user interface

User-added image
Please see the image where show filter and show charts is disable by salesforce at a certain condition .
I want implement this feature for Lightning action button for details page of object .let i am overring the details page using lightning component. 
So, My question : is it possible ??
Any suggestion greatly appriciated 
Raj VakatiRaj Vakati
No .. you can't able to do it. The only option you are having is overridden the entire tab. 

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_using_lex_s1_action_overrides_basics.htm
Matrix ReturnsMatrix Returns
Yes I want to override entire Tab
Raj VakatiRaj Vakati
You can override the tab. Please refer the link below 


https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_using_lex_s1_action_overrides_basics.htm