att
9/9/2018 - 6:13 PM

hide/show row

/*

		//console.log(JSON.stringify(data, null, 4));
		for (var i=0; i<data.length; ++i) {
			var row = cures_table.row(i);
			var result = parseInt(row.data()[result_key]);
			//console.log(JSON.stringify(row.data(), null, 4));
			
			console.log("["+i+"] result["+result+"] result_search["+result_search+"]");
			if (result_search == result) {
			
				if (this.checked) {			
					console.log("ON: ["+i+"] result["+result+"] result_search["+result_search+"]");
					row.child.show();
				} else {
					console.log("OFF: ["+i+"] result["+result+"] result_search["+result_search+"]");
					row.child.hide();
				}
			}
		}
		
		cures_table.draw(false);
		*/