on 11-24-2010 7:00 AM
Hi guys,
I'm quite new to webdyn pro. So please bear with me
I've a webdyn pro component which displays a simple alv output on screen.
I have a requirement where I need to check if lets say Status = 1 or 2 or 3 or 4.
If its either one of those status, grey out those row.
How I'm displaying it is
node_searchinfo = wd_context->get_child_node( name = `SEARCH_DATA` ).
node_searchinfo->bind_table( it_searchdata ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HEre is how the context is like
http://i393.photobucket.com/albums/pp14/metalfreakblog/SDN/context.jpg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can add new attribute "CellDesign" of type WDUI_TABLE_CELL_DESIGN to your structure.
bind this attribute to alv columns cell design. Something like this
field-symbols <wa_colum> like line of lt_columns.
lt_columns = l_table->if_salv_wd_column_settings~get_columns( ).
loop at lt_columns[] assigning <wa_colum>.
<wa_colum>-r_column->set_cell_design_fieldname( value = 'CELLDESIGN' ).
endloop.
fill the celldesign value 00 (standard) and according to your status fill celldesign value (see domain WDUI_TABLE_CELL_DESIGN ).
This has been discussed many times in SCN , so you could easily find resources if you do a search.
Hi,
I assume you have CellDesign attribute in your structure.
You have Configure_alv method to configure alv settings. If you havent one ..create one and do the coding as i gave you already.
You have to fill your Context node in some place with values.
If you have CellDesign attribute in your node and set its default value is 00.
If <your staus field is >
celldesign = 05 for example.
endif.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
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.