on 11-21-2014 2:21 PM
hi Karthik,
take a new attribute in the same node which you binded to the table of type boolean. Bind this attribute to the read only property of the Cell editor in the column. Then maitain the values true for enable and false for disable in the newly added property.
Thanks,
Raju Bonagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthik,
Could you elaborate your requirement in detail? What do you mean by enabling link to action? is it disabled now?
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rama,
Old Req :
TextEdit property was feeded in the field of a table
Process:
Once the user check the button of "Check to Edit Rejected hours"...based on some conditions...
fields in table which is grey out...wil get ENABLED (attached Screen)
New Req :
TextEdit property was changed to LinkToAction Property
Process:
Once the user check the button of "Check to Edit Rejected hours"...based on some conditions...
fields in table which is grey out...is not getting Enabled like Earlier
Can u suggest me an idea of achieving the same ...
When I compared TextEdit and LinkToAction...In Properties of LinkToAction...I am not able to find the ReadOnly Property ...
Do I need to do any other actions in it .
Regards,
Karthik S
Hi Karthik,
For ui element LinkToAction, you dont find read_only property But you can use ENABLE property to achieve your requirement.
The screen shot attached shows only text edit ui elements, is this latest output?
When you set ENABLE = X, you should see a UNDERLINE/link on particular cell & ENABLE = ' ', you would not see any link on that particular cell.
Regards,
Rama
Hi Karthik ,
From screen shot can see that all cells are having links I.e enable = X.
How were you doing earlier using Readonly Property of text elements.
I think you bound readonly property to an attribute or used dynamic READONLY property setting logic.
NOW, you just have to bind the enable property to attribute .
Please refer my document below and try to bind ENABLE property instead of READONLY.
Hope this helps you.
Regards,
Rama
Hi Rama,
I have a doubt in the apllication that i made ....
I have made the field of a table with "LinkToAction"
When I click on the Insert Row button, a new line item is created ....But I want the fields with Editable fields ....not the LinkToAction
Can u suggest me an idea to achieve the same ...
I have attached the screen for reference ...
Regards,
Karthik S
Hi Karthik,
You have to use cell variant feature to achieve your requirement.
Define cell variant for link to action and other as text edit. For initial line just do not pass any variant and for other lines you can pass variant name. So that you get link to action and text edit as required.
Refer the below link
Table with cell variant | Team ABAP
Hope this helps you.
Regards,
Rama
Hi Rama,
Thanks for yr' reply ...
I have kept Fields in the Table as "LinkToAction"...
When I click on Insert Row Button, I want the fields to be Editable one...for the rows that is created for the one which i have mentioned above ...
Can i know , how to make it dynamic ...
Can u suggest an idea for it ....
Regards,
KArthik S
Hi Karthik,
As I suggested in the previous reply, you have to create two cell editors i.e. text edit & link to action for each column and set celvariant key same for all columns.
As per the blog given earlier, you can set the variant key in action of INSERT NEW ROW button.
....
I think your requirement of having different cell editors based on action is not related to the TITLE of your current issue. In case you are not able to solve as suggested, please open new ticket for the same.
Regards,
Rama
Hi rama,
I have tried the below steps and i request you to guide me further ..
1. I have created the Cell Variant with Variant Key as "VAR_KEY"
2. I have created the Input Field and I have binded the other properties as earlier ...
3. I have assigned the Cell Variant name into Column of table as below ...
Can u suggest me on furrther steps to proceed /.....
Regards,
Karthik S
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.