fix a fucking idiot snappanel
This commit is contained in:
@@ -3664,19 +3664,20 @@ Public Class frmValidator
|
||||
Private Sub btnSave_Click(sender As System.Object, e As System.EventArgs) Handles btnSave.Click
|
||||
btnSave.Enabled = False
|
||||
|
||||
Dim oGrids = (From oControl In pnldesigner.Controls
|
||||
Where TypeOf oControl Is GridControl
|
||||
Select oControl).ToList()
|
||||
' TODO: Use when working on Validation
|
||||
'Dim oGrids = (From oControl In pnldesigner.Controls
|
||||
' Where TypeOf oControl Is GridControl
|
||||
' Select oControl).ToList()
|
||||
|
||||
For Each oGrid As GridControl In oGrids
|
||||
Dim oView As GridView = oGrid.MainView
|
||||
'For Each oGrid As GridControl In oGrids
|
||||
' Dim oView As GridView = oGrid.MainView
|
||||
|
||||
For index = 0 To oView.RowCount - 1
|
||||
oView.FocusedRowHandle = index
|
||||
oView.UpdateCurrentRow()
|
||||
Next
|
||||
' For index = 0 To oView.RowCount - 1
|
||||
' oView.FocusedRowHandle = index
|
||||
' oView.UpdateCurrentRow()
|
||||
' Next
|
||||
|
||||
Next
|
||||
'Next
|
||||
|
||||
'Return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user