on 2023 Oct 10 9:52 AM
Hello Experts,
I am developing a scanning application app and my requirement is that after successfull scan of a product , the cursor should appear on the particular field of the table row . How to achieve the same ? I have developed the app with list report - Object page fiori elements template.
I already have the reference of the table row and here I get the values of each fields in a row .
var oProperty = this.getView().getModel().getProperty(oTable.getItems()[i].getBindingContext().getPath());
How can i set the cursor to a particular field ?
Request clarification before answering.
Hi there,
I believe you need a way of accessing the specific input field - maybe open the console and see if there is something unique about that field, or maybe it's always(?) the n-th child of the row or something like that. Once you have the input field reference you can fire a press event on that input field ( .firePress() ), which puts the cursor into the field.
Best, Nico
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
11 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.