Categories | Question details Back To List | ||
tab with grid count Hi, I have a tab bar that has two tabs with a different grid inside each. I would like the label of the tab to be followed by the grid count. tabbar.addtab("a1","mytab1","120px"); would be something like tabbar.addtab("a1","mytab1 ("+mygrid1.getRowsNum()+")","120px"); However, that doesn't work. Do you have a suggestion for this? Thanks Answer posted by Alex (support) on Nov 20, 2009 02:42 Hello, it will be better to do that as follows: tabbar.addtab("a1","<span id='tab1' style='width:100px'>mytab1</span>","120px"); ... mygrid1.loadXML(url,function(){ document.getElementById("tab1").innerHTML += mygrid1.getRowsNum() }) |