Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1187
Get grid rows exactly as shown on screen
posted

We use the ultragrid with a single band. we allow our users to sort and filter the row results.  I need to get a list of the data rows exactly as they are shown on the screen.  the code below that we are using does not return the row results in grids sorted order.

        For Each r As Infragistics.Win.UltraWinGrid.UltraGridRow In Me.grdInventoryList.Rows
            If r.IsFilteredOut = False Then
                s = r.Cells("stkno").Value
                ht.Add(s, s)
            End If
        Next

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    This code looks correct to me, although I would probably use HiddenResolved instead of IsFilteredOut.

    You are saying the grid rows are not in the sorted order you see on the screen? I don't see how that's possible.

Reply Children
No Data