Categories | Question details Back To List | ||
Passing Parms to tabs I am evaluating your components for use in my company and I have two use cases that I need help with. Question ONE ====================== I have a tabbar with TAB A and TAB B. On TAB A I have your grid component which displays a list of information. When I click on a row grid, I want to be able to send the row_id to TAB B and have TAB B refresh itself with the detail informaiton that comes from a server call based on the ROW_ID that came from TAB A. Is this possible? Question TWO ====================== A have a tabbar with TAB A and TAB B. When I click on TAB B, I want to be able to call the server and populate TAB B with the results of the call. Is this possible? Answer posted by Support on Jan 22, 2009 02:19 >>Is this possible? mygrid.attachEvent("onRowSelect",function(id){ tabbar.setHrefMode("ajax-html") //set loading mode tabbar.forceLoad("tab2","some.php?for="+id); //load data in second tab }) >>Question TWO Tabbar can be initialized in ajax-html mode, in such case when tab become active - it will poll data from defined url tabbar.setHrefMode("ajax-html") tabbar.setContentHref("some.php") |