on 07-08-2013 6:57 PM
Hello Dear Friends, I want to change the color of cell in my table dynamicly, ı tried lost of things but it is still not work, I couldnt find any space to bind my table row as a cell design and i came up to use column cell design proporitties and i bind one of my column with a node whose card. 1 - n and bind an attribute whose type wdui_table_cell_design. And in init, i set the attribute like, set my_attribute, name = 'CELL_DESIGN' value = 'possitive' or i tried value '02'. But still dont work, need your helps, Thanks
Hi,
In ALV: we can set colors without help of context node or attributes.
just follow steps:
1. get the column reference, lr_column = lo_value ->if_salv_wd_column_settings->get_columns.
2. loop the record conditionally and fill the cell design values,
lr_column->set_cell_design( exporting value = cl_wd_table_column=>e_cell_design-one ).
In Wd table:
1. create a attribute in context with data type wdui_table_cell_design
2. pass the values conditionally to above attribute with help of cl_wd_table_column values
3. bind this attribute to one of the column property called cell-design.
regards,
Kishorekumar SVS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Try this document it will be helpful for your requirement,
http://scn.sap.com/docs/DOC-4068
Regards,
Rajashiva Ramalingam
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 | |
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.