cancel
Showing results for 
Search instead for 
Did you mean: 

How to bold column header titles in Table?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Thanks Prasanna.

You mean there is no direct property.I will try with your solution.

~Adams

Answers (3)

Answers (3)

monalisa_biswal
Contributor
0 Kudos

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>

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks foe reply Kapil

I feel that is not advisable to do.Is there another way?

~Adams

Former Member
0 Kudos

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