Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alim Hassam on Sep 05, 2008 13:00
open dhtmlx forum
DHTMLX grid - How to completly disable scrollbars

Hi,
I would like remove scrollbars from my dhtmlx grid.

I use enableAutoWidth(true) and enableAutoHeight(true)
and i call setSizes() after each modification, but i still see the scrollbar sometimes.

I see them all the time in IE6 and in firefox i see them when i do a block selection to the last row or the last column.

How could i make sure the scrollbars don't appear?
Thank you,
-Alim
Answer posted by Support on Sep 09, 2008 02:04
Add next line to the grid's init
      grid.objBox.style.overflow="hidden";
It will fully remove visible scrollbars
Answer posted by Alim Hassam on Sep 08, 2008 12:18
Thank you,
It should probably read
  grid.objBox.style.overflow="hidden";

Otherwise it works.
-Alim
Answer posted by Support on Sep 09, 2008 02:04
Yes, was a typo from my side, sorry for inconvenience