-
xml data binding and paging
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 nested
table is displayed when the header row is clicked.
This works fine however when I the DATAPAGESIZE on the table it stops working
on 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.
Thanks
Sean
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|