dhtmlGrid scroller

Hi ,

I’m using " mygrid.objBox.style.overflowY = “scroll” " so that the scroller will be permenent in the grid , (the scroller is in the right side) , but when the grid is changing from the active scroller (in big data) to be disabled , the header is changing like there is no scoller ,and the data inside of it also moves - and I can Only see part of the text (the rest is ‘under’ the scroller).

How can i fix this?

Thanks.

You should modify dhtmlxgrid.js file. In setSizes method change “var isVScroll” variable to “var isVScroll = true;”

Hi,

I did use this in the 2.5 ver , but now i’m using the vae 2.6 with the rtl ext ,
and the problem is still the same ,
only that now the scroller is in the left side, and when there is big data and scroller appears ,
there is extra space to the right of the right column (like the scroller is supose to be there)
only that it does not supose to be there - beacuse it should and is in the left side…

I attached a screenshot of the situation.
What should i do inorder to fix this?

Thanks again for your help.


In which browser such issue occurs?
Is it occurs for default samples, or only in case of custom code ?

I’m using IE8 ,and it does not work also in the defult sample code…
I’ve attached the sample code i tried…

Please Advice…

Thanks.
grid.zip (540 Bytes)

Hi,

I’m waiting for your advice ,
still don’t have the solution for this problem.

Thanks again.

Try to use fixed width instead of * - it fixes some rtl related issues locally.
also, the original issue can’t be reconstructed in IE8 - there is no unnecessary space to right of header, with any column widths settings.

Are you using it in compatibility or some custom mode?
( IE7 mode has a lot of RTL issues )

Hi,

I’m sorry , but I did not understand you…

I tried the fixed size it didn’t help, nothing changed.

when the scroller is not ctive the space is in the left side - which is o.k ,
but when it becomes active the space moves to the right.

Any way to fix this?

Please advice,

Thanks.

Check the attached sample
It uses the same code as you have provided, and works correctly in IE8
1281449643.zip (109 KB)

Hi,

I tried the attached code ,
in the header there is a css file that does not exist in the folder you gave me - dhtmlxgrid_rtl.css
i have only the dhtmlx_rtl.css file , and when i use it , i can’t center the header text.

I removed this line :

and it still works the same , and woks good.

I’m a little bit confused about this issue ,

Please advice,

Thanks.

Another thing i realized now , is that the folowing files are diffrent that the ones that i have from the 2.6 pro version:
dhtmlxgrid.js , dhtmlxgridcell.js , dhtmlxcommon.js .

so my question is , can i replace them with the current files from the 2.6 ver?
will cause any problems in other uses of the grid?

waiting for your reply,

Thanks again.

We’ve send you non-compressed version of those files. It doesn’t have any fixes at rtl functionality compared with your files with 2.6 version.

I’m sorry , but i did not understand…

A. what does it mean non-compressed files?

B. There is a diffrence in the files sizes and content (between what you send and the current
2.6 ver files) , so should i change between them, and use the files you sent?

A. Non-compressed files are the files with readable formatting.
B. If files which we send to you fix your problem you should use them.