Skip to main content
10 events
when toggle format what by license comment
Jul 17 at 8:46 vote accept Giri K
Jul 15 at 15:26 answer added ytiq timeline score: 0
Jul 15 at 14:37 comment added Giri K @ytiq - Thanks for your reply! I am setting the hideDocTransferButton property to true or false based on a few field values in the Apex controller and passing on to the row action as below: { type:'action', typeAttributes: { rowActions:actions, disabled: { fieldName:'buttonDisabled' } }, } However, it doesn't seems working.
Jul 15 at 13:51 comment added ytiq in Creating Static Row-Level Actions section of documentation it mentions that action have 'disabled' attribute option, so you should be able pass objects from Apex with disabled attribute specified based on your criterias
Jul 15 at 12:41 comment added Giri K @TusharJadav - Thanks for replying! I did check the sample code, which dynamically pushes the action buttons. In my case, the requirement is to hide/disable the action button for all the rows based on the property value, which comes from the Apex wrapper class. So, I am looking for a direct approach, if any, to disable the button and instead dynamically push the action button.
Jul 15 at 12:34 history edited Giri K CC BY-SA 4.0
deleted 10 characters in body
Jul 15 at 12:34 comment added Tushar Jadav Have you checked this? - Creating Dynamic Row-Level Actions
Jul 15 at 12:33 history edited Giri K CC BY-SA 4.0
added 12 characters in body
Jul 15 at 12:33 history edited Giri K CC BY-SA 4.0
added 8 characters in body
Jul 15 at 12:10 history asked Giri K CC BY-SA 4.0