on 07-07-2015 6:09 AM
Hi Experts,
I am trying to read context of row when user double click on particular row. I have tried following code.
Here "handle_ok" is the function and it contain logic to read selected row from F4 help and copy to respective field.
This code is working fine only when user selected particular row and double click on that row. But if user double click on row directly without selecting row then it is not picking respective row. Could you please let me know, is there any event for this requirement. I am new to JavaScript so please provide sample code.
Best Regards,
Sasidhar V.
Use selectionBehaviour property in your table
JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.table.SelectionBehavior
selectionBehavior: sap.ui.table.SelectionBehavior.Row
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot Indrajith.
Now row is selecting when I click anywhere on row and after that double click functionality is working fine. But when I double click directly on row still it is not picking respective row. Please let me know, is there any solution for this requirement. My requirement is Row should picked up when user double click on respective row without selecting.
Best Regards,
Sasidhar V.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.