on 01-21-2009 12:24 AM
Hi
I need to set layout data of Label to RowHeadData and also wants to set the rowBackgroundDesign property of the the same label
and I need to do it programmatically
If any one can share the snippet that will be of great help
Hi Gaurav,
I assumed that you had l container with RowLayout and a label in it. You want to set the layout data of Label to RowHeadData programmatically.
Then try like this:
I have not tried out this code in my server. You can try this code snippet
In wdDoModifyView(),
IWDLabel label = (IWDLabel) view.getElement("id_of_label");
IWDRowHeadData rh= (IWDRowHeadData)label.createLayoutData(IWDRowHeadData.class);
rh.setRowBackgroundDesign(WDCellBackgroundDesign.XXX);
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
Check the following SAP help documentation on IWDLabel:
http://help.sap.com/saphelp_nw04/helpdata/en/f0/492c6c49831040af2bcb5975c7076c/frameset.htm
It explains all the methods of the above mentioned API.
Regards.
Rajat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
Check this link..(Page No 13)
Regards,
Alamelu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
chk out the following link,
http://www.vogella.de/articles/SAPWebDynpro/ar01s11.html
Regards
Jayapriya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.