Hi,
I want to throw an error message when I press a button without selecting any row of the table in sap ui5.

Here is my table where I want an error message should come whenever I miss selecting the row while pressing the button.
Suggest me something which will help me to complete this.
Thanks.