зеркало из https://github.com/mozilla/pjs.git
changed to use rowIndex and sectionRowIndex
This commit is contained in:
Родитель
81f23c5dc8
Коммит
038aa92fff
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче