on 03-14-2024 3:44 PM
Hi Folks,
I am having a table with sap.m.Label in one of a cell and its created via aggregation binding. Since sap.m.Label is not having a press event I want to declare an attachEvent in the control declartion in XML view.
I know we can handle this in the controller via js but since the Label does not have ID it makes tougher to handle at controller side and I am planning to define this attachEvent function in XML view only.
Could anyone spare a thought on this?
Eg Code:
<Table>
.....
<cells>
<Label text="some text from binding">
</Label>
so, here how to define the attachEvent function?
Thanks in advance
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.