Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Geoff Walker on May 31, 2009 11:13
open dhtmlx forum
Unable to reload tab

This question is in reference to another question (http://www.dhtmlx.com/docs/products/kb/index.shtml?q=9555) posted last week. Using the code that you gave me, I was able to get my internal tabbar to resize, but now I am having a problem reloading the "appointments" tab a second time.

Attached is the example code. If you open main.html and click on the "Appointments" tab and then click on "Tab 2" and then click the "Appointments" tab again, you get an error stating "'_content.childNodes.2.childNode' is null or not an object".

The example is a simplified version of my code, but it displays the issue. In my code I will need to recreate the "Appointments" tab with the same objects, but displaying different data the second time it is clicked. How do I do this?

Thanks!
Answer posted by Support on Jun 01, 2009 02:43
The scenario which you are using destroys previously created layout structure by indirect operation, which causes the js error. 
To solve the problem, reloading code need to be adjusted - please check modified sample.
Attachments (1)
main.zip744.00 B