cancel
Showing results for 
Search instead for 
Did you mean: 

Create filter in CTable

Former Member
0 Kudos

Hi Expert,

Anyone have experience in creating first row filter in CTABLE? (not table).

For the column, i cant find the filter value to bind the context, how could i do that?

If any tutorial mentioned on CTABLE it would greatly appreciated!

Thanks!

BR- Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member222068
Active Participant
0 Kudos

Hi Branchi,

Create a node FILTER with the same structure of the Table node and an attribute IS_FILTER_ON type WDY_BOOLEAN

and bind it to the TOGGLEBUTTON checked property as shown

Binding toolbar ui property checked with an attribute is_filter_on

Create an action SWITCH_FILTER to the toggle button and implement the logic

Define attribute in the attribute in the attributes tab of the view controller

Create an action filter and implement the logic

Implement the following logic in the WDDOMODIFYVIEW ( )

former_member222068
Active Participant
0 Kudos
Former Member
0 Kudos

Hi Sankar,

I am using Client Table(CTABLE) not Table

You cant find the method set_on_filter for CTABLE, thats why i post my question here...

Thanks for your answer btw.

Also there is not filter value in column attribute, i donno how to bind the filter value to ctable first row also.