on 06-16-2008 7:32 AM
hi
i have two tables in my main window ,
where i will be selecting one of the row from each table
and click on button called MATCH , there will be a match
done in backend for the selection of the two table rows
and show a table in the pop-up window with the matched data ,, now i need some of the cells in the
matched data row for the table in the pop-upwindow to be changed , there is variable set called 'X' which i need to set
fields that have to changed with color
can any one help me out with this issue
closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U need to create a context attribute say cell_design of type
com.sap.ide.webdynpro.uielementdefinitions.TableCellDesign.
Go to the desired table column properties for which u need to
change the color bind cellDesign property with cell_design.
Apply to all column if u need to change the color of whole row.
Now u can set this cell_design with any color using
wdContext.currentcontextelement.setCell_design(WDTableCellDesign.COLOR_OF_YOUR_CHOICE);
Regards
Surender Dahiya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
thanks for the response ,
but the color i need to change is to be done in
pop-upwindow table , and for the table structure
It_Calc_Car which has elements overwidth,weight
there are some flag values called flagoverwidth,flagweight
which are of type String .
now i need to check the condition if this flag elements=="X"
then chnage the color else no chnage of color
any suggestions .
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.