Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML Data island event!

From: "David Carnes" <davidc@----------------.--->
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
>
>




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent