on 12-31-2012 6:48 AM
Check program : WDR_TEST_TABLE
VIEW : TABLE_CELL_EDITORS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gagan,
You can follow either one of the option:
1.As per sap guidelines using radio button or checkbox in the table is not good. because via lead selection u can do the same . The way like select the record via lead select and create a buttons on the toolbar of the table and perform the same actions whatever u want. But if u want display whether record selected or not, simply display the text like accepted or not accepted instead of checked or unchecked radio/checkbox. For the text create one attribute with the type string fill manually. check the latest sap webynpro guidelines document .....
2. just follow your way,,if u really want like that
create one attribute with the type WDY_boolean. And after creating the table and binding, call the method
GET_STATIC_ATTRIBUTES_TABLE in wddoint view method.so that you can get the currently selected radio button from that you can code according to your requirement.
Regards,
Kishorekumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi deric,
You have to create one attribute with the type WDY_boolean.
And after creating the table , create binding. in the binding you need to select the radio button.
then in WDINIT method you can fill the table .
Then Use the method GET_STATIC_ATTRIBUTES_TABLE
CALL METHOD LO_ND_NODE->GET_STATIC_ATTRIBUTES_TABLE
* EXPORTING
* FROM = 1
* TO = 2147483647
IMPORTING
TABLE = ls_node.
so that you can get the currently selected radio button from that you can code according to your requirement.
Regards,
Ramya Ramasamy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deric,
Add an attribute(say FLAG type WDY_BOOLEAN) to the context node holding the table data.
Add a column to the table. Add a cell editor of type radio button and bind the property selectedKey with the attribute created earlier.
Set the value to 'X' if you do not want it to be checked and vice versa.
Hope it helps.
Regards,
Sayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure if you can have radio buttons but you may have check boxes. anyways its interesting please try to do it using ALV styles.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
google it out many documents are available both sdn and google.
hopw it helps,
Vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.