0 Replies Latest reply on Feb 14, 2007 2:22 PM by 2icecold

    scrolling a datagrid problem

    2icecold
      When I vertically scroll a datagrid, the display repeats the cell data. To work around the problem, I sort a column twice, resulting in no change, and then the display becomes magically refreshed. I am appending a table which show the problem: part (a) shows that I have created 4 rows. You can't see row 4 because the datagrid window hides it. Part (b) shows what happens when I scroll down for the pupose of displaying rows 2, 3, and 4. However, as I mentioned above, the grid shows, well, it repeats row 2 three times. Part (c) shows what is displayed after I click the Col2 heading twice (to sort the data twice).


      (a)
      Col1 Col2 Col3 Col4 Col5
      row 1 12data 13data 14data 15data
      row 2 22data 23data 24data 25data
      row 3 32data 33data 34data 35data

      (b)
      Col1 Col2 Col3 Col4 Col5
      row 2 22data 23data 24data 25data
      row 2 22data 23data 24data 25data
      row 2 22data 23data 24data 25data

      (c)
      Col1 Col2 Col3 Col4 Col5
      row 2 22data 23data 24data 25data
      row 3 32data 33data 34data 35data
      row 4 42data 43data 44data 45data


      I have turned mygRID.vScrollPolicy= "on"

      Has anyone observed this? Can I do anything o force a refresh whenever the scrollbar is moved?