Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Dec 26, 2007 20:13
open dhtmlx forum
DHTMLXGRID SCROLL BAR move while moving the grid rows position up and down

Hi,

I want to ajust the scroll bar when i move down the rows in the grid and when i move up the rows in the grid.So that they can see the particular row when i move down or up,if i ajust the scroll bar value in the grid,please help me.
Assume i have next and previous button using to move the grids cell up and down.How can i ajust the scroll bar,so that they can the grid rows.
Answer posted by Stanislav on Dec 27, 2007 14:34
>>I want to ajust the scroll bar when i move down the rows
Grid has API, which allows to control current state of view, if you need to be sure that some row is inside view area just add next command call
       grid.showRow(ID);