save grid filter when opening validator
This commit is contained in:
parent
352805d0b7
commit
431a22c955
@ -29,6 +29,8 @@ Public Class RefreshHelper
|
||||
|
||||
Private Property _VisibleRowIndex As Integer = -1
|
||||
|
||||
Private Property _CurrentFilter As String
|
||||
|
||||
Private ReadOnly Property ExpansionViewInfoList() As New List(Of RowInfo)
|
||||
Private ReadOnly Property SelectionViewInfoList() As New List(Of RowInfo)
|
||||
Private ReadOnly Property ExpandedMasterRowList() As New List(Of Object)
|
||||
@ -45,6 +47,7 @@ Public Class RefreshHelper
|
||||
SaveExpansionViewInfo()
|
||||
SaveSelectionViewInfo()
|
||||
SaveVisibleIndex()
|
||||
SaveGridFilter()
|
||||
Catch ex As Exception
|
||||
_Logger.Error(ex)
|
||||
End Try
|
||||
@ -56,6 +59,7 @@ Public Class RefreshHelper
|
||||
LoadExpansionViewInfo()
|
||||
LoadSelectionViewInfo()
|
||||
LoadVisibleIndex()
|
||||
LoadGridFilter()
|
||||
Catch ex As Exception
|
||||
_Logger.Error(ex)
|
||||
End Try
|
||||
@ -181,6 +185,14 @@ Public Class RefreshHelper
|
||||
Next
|
||||
End Sub
|
||||
|
||||
Private Sub SaveGridFilter()
|
||||
'_CurrentFilter = _View.ActiveFilterString
|
||||
End Sub
|
||||
|
||||
Private Sub LoadGridFilter()
|
||||
'_View.ActiveFilterString = _CurrentFilter
|
||||
End Sub
|
||||
|
||||
Private Sub SaveVisibleIndex()
|
||||
_VisibleRowIndex = _View.GetVisibleIndex(_View.FocusedRowHandle) - _View.TopRowIndex
|
||||
End Sub
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user