on 02-26-2007 3:50 AM
How to bold column header in Table?
How to bold table column header.Example in the table i have columns like this EmpNo ,Name and Designation i want bold that titles.
Thanks in advance.
Adams
Hi Adam,
Every dynpro application that we deploy on the server takes up the standard theme. As per the standard theme for dynpro application, the column header for a table appears 'normal'.
As such there's no property in view designer for making the header bold.
Only solution for this : Create a custom theme & apply it to ur dynpor appln.
Here are the steps that I wen thru :
1. Create a new theme project in the UR Design perspective of NWDS. Save it by some name. In the theme project goto complex control->table & change the look n feel properties.
2. Deploy that custom theme project on server location
..\..\SSR themes\<theme_proj_name>
3. Create an exit plug for the interface view of main component of ur appln.
4. Get the url for ur dynpro appln using URLGenerator APIs.
4. In the onPlugDefault event handler for interface view fire the exit plug created in 3rd step on the url
String appURL = WDURLGenerator.getApplicationURL(currentAppPart);
String themeAppURL = appURL + "?sap-cssurl=http://<server>:<port>/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/p123";
wdThis.wdFirePlugMyExit(themeAppURL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~``
The above steps worked fine when I implemented them.
In case of doubts please let me know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By applying theme to ur application u may achieve this feature.
Go through the following weblog
<a href="/people/lisha.peter/blog/2005/07/07/make-your-webdynpro-application-theme-specific:///people/lisha.peter/blog/2005/07/07/make-your-webdynpro-application-theme-specific
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/colourful%20webdynpro%20applications.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/colourful%20webdynpro%20applications.pdf</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Adam
I dont see any way of making the column headers bold.
If your concern is to just highlight the column titles , then why dont you place some related image before the start or end of the column header. It will also serve the same purpose. Anyways, that was just a suggestion.
Regards
Kapil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Adams,
Sorry for late reply.
A detailed example has been given in the below mentioned site
http://help.sap.com/search/highlightContent.jsp
with the scenario you have asked for.
regards
Anil Dichpally
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.