cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: Refresh in a TabStrip

Former Member
0 Kudos

Hi All,

We are using a TabStrip with 5tabs, each tab contains Forms. when we enter data in tab1, click on 2tab and come back to 1tab data entered remains same.

It's not refreshing the data. I tried view.viewreset in ModigyView, but does not make any difference. Please help me to refresh the data.

Thanks

-


Nagaraju

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Are you using ViewContainer UI?

Try to invalidate the node mapped to your UI elements.

 wdContext.node<NAME>.invalidate(); 

thanks & regards,

Manoj

Former Member
0 Kudos

hi manoj,

I tried Invalidate the nodes in modifyView, but its not the solutions for the problem. I want to know where can i invalidate the nodes.

Thanks

-


Nagaraju

Former Member
0 Kudos

hi,

do invalidation of node in tabstrip onSelect event.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nagaraju,

Alternatively You can write code for refresh data in TabStrip's onSelect.

First take one Context Attribute and bind it to SelectedTab Property of TabStrip UI Element. You can get the currently selected tab value from tht Context Attribute & write the code as you require.

With Regards,

Roop Kumar.