example/public/ueditor/third-party/highcharts/modules/data.src.js
function () {
		var options = this.options,
			table = options.table,
			columns = this.columns,
			startRow = options.startRow || 0,
			endRow = options.endRow || Number.MAX_VALUE,
			startColumn = options.startColumn || 0,
			endColumn = options.endColumn || Number.MAX_VALUE,
			colNo;
			
		if (table) {
			
			if (typeof table === 'string') {
				table = document.getElementById(table);
			}
			
			each(table.getElementsByTagName('tr'), function (tr, rowNo) {
				colNo = 0; 
				if (rowNo >= startRow && rowNo <= endRow) {
					each(tr.childNodes, function (item) {
						if ((item.tagName === 'TD' || item.tagName === 'TH') && colNo >= startColumn && colNo <= endColumn) {
							if (!columns[colNo]) {
								columns[colNo] = [];					
							}
							columns[colNo][rowNo - startRow] = item.innerHTML;
							
							colNo += 1;
						}
					});
				}
			});

			this.dataFound(); // continue
		}
	}
function () {
		var options = this.options,
			table = options.table,
			columns = this.columns,
			startRow = options.startRow || 0,
			endRow = options.endRow || Number.MAX_VALUE,
			startColumn = options.startColumn || 0,
			endColumn = options.endColumn || Number.MAX_VALUE,
			colNo;
			
		if (table) {
			
			if (typeof table === 'string') {
				table = document.getElementById(table);
			}
			
			each(table.getElementsByTagName('tr'), function (tr, rowNo) {
				colNo = 0; 
				if (rowNo >= startRow && rowNo <= endRow) {
					each(tr.childNodes, function (item) {
						if ((item.tagName === 'TD' || item.tagName === 'TH') && colNo >= startColumn && colNo <= endColumn) {
							if (!columns[colNo]) {
								columns[colNo] = [];					
							}
							columns[colNo][rowNo - startRow] = item.innerHTML;
							
							colNo += 1;
						}
					});
				}
			});

			this.dataFound(); // continue
		}
	}
function ( ) { var options = this . options , table = options . table , columns = this . columns , startRow = options . startRow || 0 , endRow = options . endRow || Number . MAX_VALUE , startColumn = options . startColumn || 0 , endColumn = options . endColumn || Number . MAX_VALUE , colNo ; if ( table ) { if ( typeof table === 'string' ) { table = document . getElementById ( table ) ; } each ( table . getElementsByTagName ( 'tr' ) , function ( tr , rowNo ) { colNo = 0 ; if ( rowNo >= startRow && rowNo <= endRow ) { each ( tr . childNodes , function ( item ) { if ( ( item . tagName === 'TD' || item . tagName === 'TH' ) && colNo >= startColumn && colNo <= endColumn ) { if ( ! columns [ colNo ] ) { columns [ colNo ] = [ ] ; } columns [ colNo ] [ rowNo - startRow ] = item . innerHTML ; colNo += 1 ; } } ) ; } } ) ; this . dataFound ( ) ; // continue } }
Parse a HTML table
Parse a HTML table