Home Forums WinForms controls Xceed Grid for WinForms How to copy a Column data from XCEED datagrid into an array or list

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Amplitude
    Post count: 2
    #50456 |

    I need to copy all of the data from a specified Column as bind to an XCeed DataGrid into an Array or List. I need the data from the Grid and not the Grid Binding Source.

    So far I cannot find any way to do this.


    Diane [Xceed]
    Post count: 1353

    Hi Amplitude,

    The question needs precision since lots of manipulation could be done on the data between the data source and the final output. Converters could be set on bindings to alter the data, templates could be used to alter the visual display, culture and string formats could convert values to string differently, etc.

    However, no matter your answer, our answer will probably be that it is not possible because the grid is doing UI virtualization. In such case, the number of cells is limited to the viewport.

    It is possible to disable UI virtualization, but the grid’s performance will most probably suffer. The initial question remains, what is the “data from the grid”? There is the data from the data source, the data from the cell’s content, the data from the cell’s viewer or cell’s editor, etc.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.