cancel
Showing results for 
Search instead for 
Did you mean: 

Adding up and down arrows to a table header

Former Member
0 Kudos

Hello everybody,

I have a problem by adding arrows to a table header. I would like to sort some entries in the table and i did already the steps to integrate the TableSort.java from the tutorial in my project. It already works when I click on my table header, but i cannot see the arrows (up and down), which I am able to see in the layout window in NWDS.

Is there a special way to add this arrows?

Best wishes

Joachim Meyer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If you use the TableSorter utility class, you also have to put the up/down-icons into your projects MIME folder.

Armin

0 Kudos

where do I find this icons, I don't find them in the project folder which I have already downloaded.

Former Member
0 Kudos

I think they are "stolen" from the SAP Icons collection, which can be used by giving resource names like "~sapicons/<icon_name>.gif".

See http://www2.sapdesignguild.org/resources/icons_sap/icons_d1_3.htm

You could either copy the icons used by the TableSorter into your component MIME folder, or adapt the code to use the SAP Icons.

Unfortunately, IDE support for using them is rather weak before NW 7.1.

Armin

0 Kudos

Ok I fixed my problem without using the icons. I just had the wrong TableSorter.java. I had the Version for NW04 but I am working with NW04s.

Thanks for you help.

Answers (0)