How to ger tabPage id

Dear support,



I have a tab object within various number of the pages.

I add the pages like code below where id is an integer.

dwpTab.addTab(id,labe,iwidt);



I want to add in the tab pages layout object.

for(var i=1;i<=pageNums;i++){

var pageLayout = tabContainer.cells(i).attachLayout(“2E”);

}

It does not work.



I works good for de first tab page when I doe like code below:

tabContainer.cells(1).attachLayout(“2E”);

But it does not work for second page:

tabContainer.cells(2).attachLayout(“2E”);



I am afraid the cellid is not anymore the Id which a gave by addition of the Tabpages.

How can I get de cellId(s) of a tabobject?



Best regard,


Hello,


please, check that dwpTab.addTab(2,label,width); was called.


If the issue still occurs, please provide the sample to recreate the issue