on 03-25-2013 2:33 PM
Hi All,
Thanks for reading the post. We have requirement of ALV usage in web Dynpro with following requirements:
a) Let us say there are 5 rows; if user selects second row and clicks Add Row; new row has to be added at second row and other rows have to be pushed down.
b) When new row is added; cursor should be positioned at the first cell of newly added row
Requirement a: we are planning to achieve as following:
> On click of Add Row button, identify row index which is selected.
> Insert element to context node at specified index
> This will reflect in UI
Please help us to understand if above approach works or there is better approach
Requirement b: we dont have idea how to go about.
Regards,
Ganga
Hi,
For requirement A you are following a correct way. Add the new row and bind the table to context.
Requirement B: There are methods that you can use to set the focus in ALV.
Check this thread: http://scn.sap.com/thread/3258741
-Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Ya u r right ,,,,,
This will work correctly but i don't know that Hoe to place cursor in the field
If u come to know kindly post it........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think your approach is correct
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.