cancel
Showing results for 
Search instead for 
Did you mean: 

Table Sorter and Table Filter

Former Member
0 Kudos

Hi Experts,

My requirement is to achieve the functionality of both Table Sorter and Table Filter on the same table. i.e I have a table which displays data and there should be 2 buttons: one for Sorting and the other for Filtering.

By clicking on the appropriate button, the table data should either be sorted or filtered.

Is it posiible to achieve this?

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

You need the TableSorter.java to make the WD table sortable. Not sure if you have the file, if not, I can email you.

Former Member
0 Kudos

yes it z possible...

For sort, u can use TableSorter.java which generates an icon of its own after u click on a column.

For filter, u can assign the onFilter property of the table column to a context variable and create an event handler for onFilter. or u can implement filter by adding a fixed top cell to the table column and handling the onEnter event of the cell editor.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5...

/people/peter.vignet/blog/2007/01/03/generic-web-dynpro-java-table-filter

Former Member
0 Kudos

Hi

You can achieve the filter and sorting options in a single table. After adding two java files you can achieve this.

Kind Regards,

Saravanan K