Skip to Content
0
Jun 15, 2018 at 09:50 AM

How to load data sources in Tab Strips?

137 Views

Hi Team,

We have 3 - different data sources(DS1,DS2 & DS3).

DS1 - Load in the script - False

DS2,DS2 - Load in script - True

and In Tab strip : 3 Tab's

Tab1: DS1 data source components

Tab2: DS2 Data source components

Tab3: DS3 data source components

Suppose when I click on Tab2 then load only DS2 data source and click on Tab3 then load DS3 data source.

I have tried below the logic in Tabstrip,

if(TAB_2.isEnabled() )

 { DS_2.loadDataSource(); } 

if (TAB_3.isEnabled() ) 

{ DS_3.loadDataSource(); }

but when I click on Tab2 then loaded both DS2 and DS3 data sources.

Here how to load individual data sources.

please help in the above example.

Thanks,

Chandrasekhar.K