Skip to Content
0
May 22, 2017 at 07:06 AM

How to disable the button inside Customlistitem while press the View Button

10304 Views

Hi All,

I want to disable the update button in the CustomListItem while press the Upload Button in the view. I tried the disable option but it works only for the first array. Pls suggest some idea.

Attached Image and tried code.

Code View:

<Button id ="attach" text="Upload" type="Emphasized" press="onAttachUpload" > </Button>

Controller:

onAttachUpload:function(){

this.getView().byId("updatedis").setEnabled(false);

},

Attachments

disable-button.png (16.8 kB)