cancel
Showing results for 
Search instead for 
Did you mean: 

Table Filter - Specifying columns to filter

Former Member
0 Kudos

Hi All,

I am using the TableFilter class from http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=341542375

and  http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0cf0997-2e08-2d10-b08e-964a2c04c....

In page 21 in states - "You can specify which columns can have a filter, instead of letting the class choose all columns that it can handle".

How can I achieve this?

Thanks,

Aviad

Accepted Solutions (0)

Answers (1)

Answers (1)

vijay_kumar49
Active Contributor
0 Kudos

What is your requirement?

You want to filter all columns or some particular columns only

Former Member
0 Kudos

I want the filter to be shown only on two columns.

vijay_kumar49
Active Contributor
0 Kudos

Please check

Regards

Vijay Kalluri

Former Member
0 Kudos

Vijay Kalluriת

Those blogs does not fit to the TableFilter class I have specified.

I need the filtring capabilities of 7.3.

Aviad

vijay_kumar49
Active Contributor
0 Kudos

It’s a simple

Do one think

  1. Have you create “filterAttribute” Node in context Page no 18
  2. Binding these  valueAttributes, in which column you want.(for example 2 columns. You can bind only 2 columns) Page no: 20

Dont Bind all the columns in your table

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0cf0997-2e08-2d10-b08e-964a2c04c...

Former Member
0 Kudos

Hi,

I did that but still all the attributes have a filter.

Edit - In my version of TableFilter class I do not need to create a filter node or to bind filtervalue in order to see the filter option.

Aviad

vijay_kumar49
Active Contributor
0 Kudos

Have you set the "TableFilter.java" class file to the  valueAttribute of "TableFilter" in Context.


Please follow the document step by step

It should work

Former Member
0 Kudos

I did.

Do you know what is 'hashIcons' parameter on the constructor?