scroll bars

hi again…



i have a problem with the behavior of the scroll bars…

example when i have a horizontal scroll bar and the size of a cell is bigger than what the grid can show…

when i click the cell the scroll bar always moves to the right…how can i make it stationary instead?



tnx in advance…

By default grid automatically scrolls to show cell in focus, you can change behavior by next code modification

dhtmlxgrid.js, line 1180

    this.moveToVisible = function(cell_obj,onlyVScroll){

can be replaced with

    this.moveToVisible = function(cell_obj,onlyVScroll){
       onlyVScroll=true;

after such modification only vertical autoscrolling will be applied ( more tricky way - you can to adjust scrollLeft position calculation according you needs in same function )