wise J 2.2.1 Beta DGV selected rows

Answered
0
0

This statement no longer works

foreach (DataGridViewRow R in dgvMCC.SelectedRows)

As an integer array is returned instead of a collection of selected rows

Is this by design?

  • You must to post comments
Great Answer
0
0

Thank you for reporting it. It should/will work as before. The DGV in 2.2 doesn’t create any row until used by the app so internally it refers to data only by the row index and creates rows on demand. This saves a lot of memory for data bound or virtualmode grids.

  • Ulisses
    Hi, Luca! How can I download the beta version? Thanks!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.