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 _VisibleRowIndex As Integer = -1
|
||||||
|
|
||||||
|
Private Property _CurrentFilter As String
|
||||||
|
|
||||||
Private ReadOnly Property ExpansionViewInfoList() As New List(Of RowInfo)
|
Private ReadOnly Property ExpansionViewInfoList() As New List(Of RowInfo)
|
||||||
Private ReadOnly Property SelectionViewInfoList() As New List(Of RowInfo)
|
Private ReadOnly Property SelectionViewInfoList() As New List(Of RowInfo)
|
||||||
Private ReadOnly Property ExpandedMasterRowList() As New List(Of Object)
|
Private ReadOnly Property ExpandedMasterRowList() As New List(Of Object)
|
||||||
@ -45,6 +47,7 @@ Public Class RefreshHelper
|
|||||||
SaveExpansionViewInfo()
|
SaveExpansionViewInfo()
|
||||||
SaveSelectionViewInfo()
|
SaveSelectionViewInfo()
|
||||||
SaveVisibleIndex()
|
SaveVisibleIndex()
|
||||||
|
SaveGridFilter()
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
_Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
@ -56,6 +59,7 @@ Public Class RefreshHelper
|
|||||||
LoadExpansionViewInfo()
|
LoadExpansionViewInfo()
|
||||||
LoadSelectionViewInfo()
|
LoadSelectionViewInfo()
|
||||||
LoadVisibleIndex()
|
LoadVisibleIndex()
|
||||||
|
LoadGridFilter()
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
_Logger.Error(ex)
|
_Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
@ -181,6 +185,14 @@ Public Class RefreshHelper
|
|||||||
Next
|
Next
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub SaveGridFilter()
|
||||||
|
'_CurrentFilter = _View.ActiveFilterString
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub LoadGridFilter()
|
||||||
|
'_View.ActiveFilterString = _CurrentFilter
|
||||||
|
End Sub
|
||||||
|
|
||||||
Private Sub SaveVisibleIndex()
|
Private Sub SaveVisibleIndex()
|
||||||
_VisibleRowIndex = _View.GetVisibleIndex(_View.FocusedRowHandle) - _View.TopRowIndex
|
_VisibleRowIndex = _View.GetVisibleIndex(_View.FocusedRowHandle) - _View.TopRowIndex
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user