2 Replies Latest reply on Apr 5, 2010 12:13 PM by peteandrus

    DataGrid - specifying number of items if they're not in list?

    peteandrus Level 1

      i want to create a  dataGrid that has X items (read from a DB), but that only holds Y items in memory at one time. The range of values is in the millions, so i'm trying to lessen the number of items i have in memory at once so as to not degenerate the performance. I may change course later, but i want to see this through for myself!

       

      anyways, if i have, say, 2 million items in the DB and want to display only 1000 at a time, is it possible to tell the dataGrid to display as though it has 2 million, thus enabling a large vertical scrollbar, when i only have 1000 items in the actual data provider?

       

      any help is appreciated.