W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > January to March 2003

Please, Need Help With Tables

From: <steve.hommel@wachovia.com>
Date: Thu, 27 Feb 2003 14:15:19 -0500
To: "w3c-wai-ua@w3.org" <w3c-wai-ua@w3.org>
Message-ID: <OFAEF8FE74.5C286422-ON85256CDA.0069AB2E@infra.fub.com>

Could you tell me how I can give each row and cell an ID when the table
from a text fileis loaded using activex control. This is the main part of
my code:

</SCRIPT>

<OBJECT ID="FulReqTDC" name="TableResults" CLASSID
="CLSID:333C7BC4-460F-11D0-BC04-0080C7055A83">
 <PARAM NAME="TextQualifier" VALUE="!">
 <PARAM NAME="FieldDelim" VALUE="|">
 <PARAM NAME="DataURL" VALUE="FulReq.txt">
 <PARAM NAME="UseHeader" VALUE="true">
</OBJECT>

</HEAD>
<BODY>

<TABLE BORDER="1" ID="fulTable" DATASRC="#FulReqTDC" CELLSPACING="0">


  <THEAD>
   <TR bgcolor="#C0C0C0">
     <TD><FONT COLOR="#0000FF"><B><U><DIV ID
="LV">Loan/Visit</DIV></U></B></FONT></TD>
     <TD><FONT COLOR="#0000FF"><B><U><DIV ID="tmFul">Time
FulFilled</DIV></U></B></FONT></TD>
     <TD><FONT COLOR="#0000FF"><B><U><DIV ID="chgTo">Changed
To</DIV></U></B></FONT></TD>
   </TR>
 </THEAD>

 <TBODY>
   <TR>
     <TD><DIV DATAFLD="Loan_Visit" name="Loan_Visit" onclick
="loanVisitClicked(FulReqTDC);" ondblclick="loanVisitDblClicked
();"></DIV></TD>
     <TD><DIV DATAFLD="TimeFulFilled" name="TimeFulFilled"
ondblclick=timeFulDblClicked();></DIV></TD>
     <TD><DIV DATAFLD="ChangedTo" name="Changed To"
ondblclick=changedToDblClicked();></DIV></TD>
   </TR>
 </TBODY

</TABLE>

I need to be able to determine what cell they clicked, what row it is on,
and the data in that cell. I got it for the header of the table, but since
the data is loaded using the control, how do I put an ID on each cell?
Since this method is using this class can you tell it an id for each cell
that it fills with data to acces it later?

Please Help;
Steve
Received on Thursday, 27 February 2003 14:19:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 06:51:13 GMT