Search action according to Active Tab

How can a single search bar used for a tab of multiple contents and the search action should be performed only to the active tab.

Hi Athiq,

You have a common Search for all tab Contents.

1-  Add a handler to the tabs event OnTabChange & store the ActiveTab on a local variable.

2- Add a handler to the Search Input widget via defining on the OnChange event.

    Under this onChange Handler, Add a Switch of TabIdentifier.

    Refresh only respective  Aggregates that belongs to the particular active Tab.

This way your Active Tab Aggregate will be refreshed & Data will appear based on Search. Rest Content & Aggregate will not be Refreshed ... coz that we are validating via ActiveTab through Switch.


Note:

Maintain Active Tab Status While you Switch Screen

Use same Bind SearchInput parameter across all Aggregates Filter


Thanks,

assif_tiger

assif_tiger wrote:

Hi Athiq,

You have a common Search for all tab Contents.

1-  Add a handler to the tabs event OnTabChange & store the ActiveTab on a local variable.

2- Add a handler to the Search Input widget via defining on the OnChange event.

    Under this onChange Handler, Add a Switch of TabIdentifier.

    Refresh only respective  Aggregates that belongs to the particular active Tab.

This way your Active Tab Aggregate will be refreshed & Data will appear based on Search. Rest Content & Aggregate will not be Refreshed ... coz that we are validating via ActiveTab through Switch.


Note:

Maintain Active Tab Status While you Switch Screen

Use same Bind SearchInput parameter across all Aggregates Filter


Thanks,

assif_tiger

Hi assif,


Thanks for your response. but how to use event handler in web application and how can we get the active TabId ?