Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Prasad on May 21, 2008 09:28
open dhtmlx forum
Horizontal scroll on cell edit(multiline)

Hello Support,

I am using split and multiline mode.
When I click on the cell I get horizontal scrollbar for that particular cell.
Can I remove/hide that scrollbar? Will It make any difference to current functionality?

Answer posted by Support on May 21, 2008 10:08

You can locate and comment next line in

dhtmlxgridcell.js ( line 408 )

   if ((this.grid.multiLine)&&(this.obj.offsetHeight >= 18)&&(this.obj.offsetHeight < 40)){
    this.obj.style.height="36px";
    this.obj.style.overflow="scroll";
   }

This code will not cause any other grid's functionaliy
( Code used to show visible scrolls for single line container because FF will not show it automatically for elements with small height )