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
210
Get All Visible rows in UltraGrid
posted

Hello,

I am searching for a function which will return all rows that are visible in UltraGrid without looping through the rows.

My requirement is, on the click of a button 'select All' I want to select all the rows in the grid except for the one which are hidden.

The code that I am using is

Dim rows As UltraWinGrid.UltraGridRow() = Me.ulGridEstimateDetail.Rows.GetAllNonGroupByRows()
Me.ulGridEstimateDetail.Selected.Rows.AddRange(rows)

This selects all the records(both visible and hidden).

Is there a function or any work around that will return a collection of all visible rows in ultrawingrid.

I want to avoid loops since I'm working with more than 13000 records.

Thanks,
Shambu Sathyan