(columnName)
| 49 | }; |
| 50 | |
| 51 | getColumn(columnName){ |
| 52 | if(Object.prototype.toString.call(columnName) !== '[object String]') { |
| 53 | throw "Should enter a columnName"; |
| 54 | } |
| 55 | var columns = this.document.columns; |
| 56 | for(var i=0;i<columns.length;i++){ |
| 57 | if(columns[i].name === columnName) |
| 58 | return columns[i]; |
| 59 | } |
| 60 | throw "Column Does Not Exists"; |
| 61 | }; |
| 62 | |
| 63 | updateColumn(column){ |
| 64 | if (Object.prototype.toString.call(column) === '[object Object]') { |
no outgoing calls
no test coverage detected