Hello,
I have looked and see that some people report that the isvisible property is true or false depending on whether the row is filtered.
I don't find this in my project.
I have a gridview that is bound to a datatable.
When the user filters the rows, we want to be able to iterate over the unfiltered rows and update a value in a cell.
Whenever I iterate over the gridview.rows collection, the gridviewrowinfo.isvisible is always true, regardless of filter state.
Can anyone point me to what I'm doing wrong?
Here is a snipit of code
I have looked and see that some people report that the isvisible property is true or false depending on whether the row is filtered.
I don't find this in my project.
I have a gridview that is bound to a datatable.
When the user filters the rows, we want to be able to iterate over the unfiltered rows and update a value in a cell.
Whenever I iterate over the gridview.rows collection, the gridviewrowinfo.isvisible is always true, regardless of filter state.
Can anyone point me to what I'm doing wrong?
Here is a snipit of code
Dim mCellPos As Integer = rgvItemsAndProps.CurrentCell.ColumnIndex rgvItemsAndProps.BeginEdit() For Each gr As GridViewRowInfo In rgvItemsAndProps.Rows Dim y As String = gr.Cells(2).Value If gr.IsVisible = True Then gr.Cells(mCellPos).Value = _ItemPropGridClipboard End If Next rgvItemsAndProps.EndEdit() End If