![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XML Data island event! [Thread Next] Re: XML Data island event!To: NULL Date: 9/3/2004 2:36:00 PM Shoaib:
I do not think there's an event raised when each row is added (I could be
wrong!) but the table itself should have a onreadystatechange event that you
can trap.
Here's a case where I wanted to have a checkbox next to some data in a <td>,
but only in the case where there was some actual data in that <td>
<script for="tblTopLevel" event="onreadystatechange">
if(tblTopLevel.readyState == "complete"){
var c_unverify = window.document.getElementsByName("span_pri_un");
var c_serial = window.document.getElementsByName("td_pri_serial");
//show Unverify checkbox
for(i = 0; i < c_serial.length; i++){
if(c_serial[i].innerText != ''){
c_unverify[i].style.display = "";
}
}
}
</script>
Actually, the documentation for onReadyStateChange lists <tr> as one of the
objects that it can be applied.
http://tinyurl.com/5qzwj
HTH!
Dave
"Pakis" <skhan@i...> wrote in message
news:uUWcuhKkEHA.596@T......
> Hello!
> I have binded my table to a XML Data Island. I insert bulk of
XML
> in my data island and want to get an event for each row added in my table
> from that XML Data Island. Can anyone please guide me how can i get the
> event?
>
> Regards
> Shoaib Khan
>
>
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
