setBorderNormalOutset in version 3 but not in 4

Hello,

in dhtmlx 3.0 I used setBorderNormalOutset, i need to use the version 4 but setBorderNormalOutset is not in the V4. What is the replacement ?

dhtmlXCombo.prototype.setBorderNormalOutset = function(){ this.DOMelem.style.border= "2px"; this.DOMelem.style.borderTop = "2px outset"; this.DOMelem.style.borderBottom = "2px outset"; this.DOMelem.style.borderLeft = "2px outset"; this.DOMelem.style.borderRight = "2px outset"; this.DOMelem.style.verticalAlign = "middle"; this.DOMelem.style.fontWeight = ""; }

Sorry for my poor English.


Christophe

Hi

combo.DOMelem is deprecated since 4.0, please use combo.getBase(), i.e.:

dhtmlXCombo.prototype.setBorderNormalOutset = function(){ var base = this.getBase(); base.style.border = "2px"; ... }