RE: [Webunitproj-users] WebTable.getRowCount() always returns 1
Brought to you by:
dgan
|
From: Erik O. <eos...@ya...> - 2003-04-14 14:59:44
|
All,
I commited a fix for this last week.
WebTable.getRowCount() now returns
5 for the given html table. I also
added a unit test for the code fix.
--Erik
I evaluated some dhtml javascript and found that it
returns 5, so maybe its best to be consistent and
return 5 as well.
Thanks,
Brian
-----Original Message-----
From: Ostermueller, Erik
[mailto:Eri...@fn...]
Sent: Wednesday, April 02, 2003 11:21 AM
To: Brian Knorr;
web...@li...
Subject: RE: [Webunitproj-users]
WebTable.getRowCount() always returns 1
As you might expect, the code is counting only the
single row in the
<thead> tag.
Would you rather see 4 or 5 rows returned for this
case?
-----Original Message-----
From: Brian Knorr [mailto:bt...@ne...]
Sent: Tuesday, March 25, 2003 3:45 PM
To: web...@li...
Subject: [Webunitproj-users] WebTable.getRowCount()
always returns 1
When calling getRowCount() on the following table,
isnt it supposed to return 5 or maybe even 4? But
instead its returning 1
any ideas?
<table id="test" border="1">
<thead>
<tr><th>col1</th><th>col2</th><th>col3</th></tr>
</thead>
<tbody>
<tr><td>11</td><td>21</td><td>31</td></tr>
<tr><td>12</td><td>22</td><td>32</td></tr>
<tr><td>13</td><td>23</td><td>33</td></tr>
<tr><td>14</td><td>24</td><td>34</td></tr>
</tbody>
</table>
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
|