PageRenderTime 39ms CodeModel.GetById 36ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/code/plugins/dhtmlx/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_3but.js

http://mapapp.googlecode.com/
JavaScript | 20 lines | 1 code | 7 blank | 12 comment | 0 complexity | 139492287261a8bb15b952610de3e654 MD5 | raw file
 1//v.2.1 build 90226
 2
 3/*
 4Copyright DHTMLX LTD. http://www.dhtmlx.com
 5You allowed to use this component or parts of it under GPL terms
 6To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
 7*/
 8
 9function eXcell_3but(cell){this.cell = cell;this.grid = this.cell.parentNode.grid;this.edit = function(){};this.isDisabled = function(){return true};this.detach = function(){};this.setValue=function(val){this.cell.val=val;this.cell.innerHTML="<input type='button' value='1'/><input type='button' value='2'/><input type='button' value='3'/>";this.cell.childNodes[0].onclick=function(){a3but_f1(this.parentNode.parentNode.idd,this.parentNode._cellIndex)};this.cell.childNodes[1].onclick=function(){a3but_f2(this.parentNode.parentNode.idd,this.parentNode._cellIndex)};this.cell.childNodes[2].onclick=function(){a3but_f3(this.parentNode.parentNode.idd,this.parentNode._cellIndex)}};this.getValue=function(){return (this.cell.val||"")}};eXcell_3but.prototype = new eXcell;
10
11
12
13
14//v.2.1 build 90226
15
16/*
17Copyright DHTMLX LTD. http://www.dhtmlx.com
18You allowed to use this component or parts of it under GPL terms
19To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
20*/