| @@ 79-98 (lines=20) @@ | ||
| 76 | th_instance.BuildRequest.Filter(rq); |
|
| 77 | }) |
|
| 78 | }, |
|
| 79 | ColumnHover: function(tableContainer, index){ |
|
| 80 | var rows = document.getElementById(tableContainer).rows; |
|
| 81 | var upto = rows.length - 1; |
|
| 82 | if(typeof index === "undefined"){ |
|
| 83 | ColumnHoverRelease(rows, upto); |
|
| 84 | } else { |
|
| 85 | for(var i = 0; i < upto; i++){ |
|
| 86 | rows[i].cells[index].setAttribute("lang", "col-hover"); |
|
| 87 | } |
|
| 88 | } |
|
| 89 | function ColumnHoverRelease(rows, upto){ |
|
| 90 | for(var i = 0; i < upto; i++){ |
|
| 91 | for(var j = 0; j < rows[i].cells.length; j++){ |
|
| 92 | if(rows[i].cells[j].lang){ |
|
| 93 | rows[i].cells[j].removeAttribute("lang"); |
|
| 94 | } |
|
| 95 | } |
|
| 96 | } |
|
| 97 | }; |
|
| 98 | }, |
|
| 99 | Draw: { |
|
| 100 | Section: function(tableContainer, dt, tSection){ |
|
| 101 | var section = tSection === "tfoot" ? "tfoot" : "tbody"; |
|
| @@ 76-95 (lines=20) @@ | ||
| 73 | TableHelper.BuildRequest.Filter(rq); |
|
| 74 | }) |
|
| 75 | }, |
|
| 76 | ColumnHover: function(tableContainer, index){ |
|
| 77 | var rows = document.getElementById(tableContainer).rows; |
|
| 78 | var upto = rows.length - 1; |
|
| 79 | if(typeof index === "undefined"){ |
|
| 80 | ColumnHoverRelease(rows, upto); |
|
| 81 | } else { |
|
| 82 | for(var i = 0; i < upto; i++){ |
|
| 83 | rows[i].cells[index].setAttribute("lang", "col-hover"); |
|
| 84 | } |
|
| 85 | } |
|
| 86 | function ColumnHoverRelease(rows, upto){ |
|
| 87 | for(var i = 0; i < upto; i++){ |
|
| 88 | for(var j = 0; j < rows[i].cells.length; j++){ |
|
| 89 | if(rows[i].cells[j].lang){ |
|
| 90 | rows[i].cells[j].removeAttribute("lang"); |
|
| 91 | } |
|
| 92 | } |
|
| 93 | } |
|
| 94 | }; |
|
| 95 | }, |
|
| 96 | Draw: { |
|
| 97 | Section: function(tableContainer, dt, tSection){ |
|
| 98 | var section = tSection === "tfoot" ? "tfoot" : "tbody"; |
|