changed to use rowIndex and sectionRowIndex

This commit is contained in:
karnaze%netscape.com 1998-12-18 19:03:33 +00:00
Родитель 81f23c5dc8
Коммит 038aa92fff
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -182,14 +182,14 @@ function insertRowWithContent() {
function setRowIndex() { function setRowIndex() {
dump("\nSCRIPT: starting setRowIndex\n"); dump("\nSCRIPT: starting setRowIndex\n");
var row = document.getElementsByTagName("TR")[0]; var row = document.getElementsByTagName("TR")[0];
row.setRowIndex(99); row.rowIndex = 99;
dump("SCRIPT: ending setRowindex - placed 1st row at end\n"); dump("SCRIPT: ending setRowindex - placed 1st row at end\n");
} }
function setSectionRowIndex() { function setSectionRowIndex() {
dump("\nSCRIPT: starting setSectionRowIndex\n"); dump("\nSCRIPT: starting setSectionRowIndex\n");
var row = document.getElementsByTagName("TR")[0]; var row = document.getElementsByTagName("TR")[0];
row.setSectionRowIndex(99); row.sectionRowIndex = 99;
dump("SCRIPT: ending setSectionRowindex - placed 1st row at end\n"); dump("SCRIPT: ending setSectionRowindex - placed 1st row at end\n");
} }