xml data binding

wxdqz

New Member
Hi,I have a problem binding a hierarchical xml document to a tables.I have an xml doc 2 levels deep and nested table bound to it. The nestedtable is displayed when the header row is clicked.This works fine however when I the DATAPAGESIZE on the table it stops workingon all but the first page.I get an error "tblDetails[...].style is not an object"here is the script<SCRIPT LANGUAGE=JavaScript FOR=Invoice EVENT=onclick>rowID = this.recordNumber - 1;if (tblDetails[rowID].style.display == "none"){Invoice[rowID].innerText = "-";tblDetails[rowID].style.display = "inline";}else{Invoice[rowID].innerText = "+";tblDetails[rowID].style.display = "none";}window.event.cancelBubble = true;</SCRIPT>Any ideas would be appreciated.ThanksSean
 
Back
Top