on 02-06-2007 6:22 PM
I have created an ALV with multiple columns and multiple lines.
I would like to make it possible to edit a single cell (just in the row the user has selected). I know how to make the whole column editable but this is not my goal.
Just a <b>single cell</b> in a <b>selected row</b> is required.
Is this possible to achieve?
Thanks,
Henry
Hi Hendry
Here are the steps to edit a single row or cell when user selects a particular row.
1. Create an additional boolean field with default value false, in the source context node.
2.Delete the boolean column so that it is not visible in ALV.
3. Assign cell editors of the columns as input field. Assign SET_READ_ONLY_FIELDNAME property of the cell editors to the boolean variable.
4. Create function to handle row selection by ON_LEAD_SELECT event handler. Capture event when the row is selected and Change the particular context element to true.
Hope it helps
Regards
Rakesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.