Enabling and Disabling a button based on input and selected grid.
Is it possible to disable a button when a grid row is selected?
i.e) I have three buttons and a grid, "Add" , "Modify" and "Delete". Initially only "Add" button should be enable (text from text box will be added to grid on click of add) and "Modify and Delete" button should be disable. Once a row is selected from grid, "Add" button should be disable and "Modify and Delete" button has to be enabled.
Is it possible to attain this requirement? How can I make it possible?