tabbar autosize

Hi,

I am using a tabbar on my application. One of the tabs contains tables to which rows are dynamically added on a button click(using javascript). However when the rows are added the new rows remain hidden until I click on any other tab and come back to the tab where I added the rows.
I have used the tabbar.enableAutoSize(true, true). but it is not working.
Thanks
Sravanthi

Hi,

you may call adjustOuterSize() method after a row added.

Hi,

Tried adding tabbar.adjustOuterSize() also while adding the rows, but there is no change.
Refer the below link to see the sample.

125.17.102.11/cdss_pg/default.aspx

Thanks,
Sravanthi Sontha

Hi Sravanthi,

the following approach should work:

row.appendChild(cell0);
tabbar.cells(“a1”).autoSize();

Thanks a lot this has solved the problem.

Sravanthi.