XPages View Control filtering by key pager question

I have and XPage that has an view control. This view control is filtered using the “keys” and “keysExactMatch”. The user selects some dropdowns and it partials refreshes the View Control to show the filtered data. The user then navigates to the second page, no problem. But then the user (while on the second page), changes the filter. The new filter’s data only has one page of rows but the view is still stuck on the second page.

How do I reset the view back to the top page when the filter “keys” change?

Subject: First Row Index’ property

Have you try the ‘First Row Index’ property. (All Properties\data\first)

Subject: How to filter view control?

Hi Steve,

I’ve a similar requirement. Can you tell me how did you filter the view control on selecting a value from drop down box?

Thanks.

Subject: Try to use the pager method gotoPage

var pager:com.ibm.xsp.component.xp.XspPager = getComponent(“pager1”);pager.gotoPage(0);