Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by KRajesh on Mar 20, 2008 04:04
open dhtmlx forum
TabBar and grid

Hello

I load tabbar using javascript.
I have two tabbar , first showing data in grid.

What I want

When i click on cell having link then next tab should activate and in that tab I to show dynamic html.

please give reply.
Answer posted by Support on Mar 20, 2008 06:34
You can use code similar to next

mygrid.attachEvent("onRowSelect",function(id){
    //called each time when row selected
    tabbar.setTabActive("second"); // second - ID of second tab
    tabbar.forceLoad("second","details.do?for="+id); // load related data in second tab
})