Hi
I am using the dhtmlx tree, saving the values of the check boxes within my database.
When I go to view the page again, the checkboxes are ALL checked, even though if I view the source of the XML feeding the tree, it has the correct “checked=” values, so not all of the check boxes should be selected.
Can anyone help please?
Many thanks
Please check that data which loaded is really correct one, you can use debug version of dhtmlxcommon.js to double-check that loaded data contains valid attribute value.
dhtmlx.com/docs/products/kb/inde … tmlxcommon
If issue still occurs for you - please provide a sample of problematic XML.
Thank you for the answer.
I changed to use the common debug file, but am getting javascript errors now:
_isIE is not defined
[Break on this error] through:function(name,rule,v,f,t){var a… (e){};if (typeof(htmlObject)!=“object”)
this seems to be coming from dhtmlxtree.js
How can I debug if changing to the debug script causes more errors?
The dhtmlxcommon.js and dhtmlxcommon_debug.js provides the same functionality, just be sure that it is included before other js files
Sample attached
1233752006.zip (37.7 KB)
Thank you
I emulated the order of the scripts just to be sure, pointing to the correct paths:
but still getting the same error.
_isIE is not defined
The only reason for such error - dhtmlxcommon.js ( or its debug version ) was not loaded in page , be sure that path used in your case is really correct.