I want to hide the ability to select a row based on criteria
Private
Sub
TreeRowLoaded(sender
As
Object
, e
As
RowLoadedEventArgs)
If
TypeOf
e.Row
Is
GridViewRow
AndAlso
Not
(
TypeOf
e.Row
Is
GridViewNewRow)
Then
Dim
asset
As
MaintenanceWorkbenchAssetDTO = TryCast(e.DataElement, MaintenanceWorkbenchAssetDTO)
If
asset IsNot
Nothing
Then
Dim
row
As
GridViewRow = TryCast(e.Row, GridViewRow)
If
row IsNot
Nothing
Then
row.IsExpandable =
False
row.IsSelected =
False
Else
row.IsExpandable =
True
' Hide Selection Checkbox
End
If
End
If
End
If
End
Sub