NEW2.03.04 · Released 3 February 2016
NEWfinPOWER Connect
Released in
2.03.04
3 February 2016
  1. Opened23 Dec 2015
  2. Closed7 Jan
  3. Released3 Feb
Article 13532 Job J016734

Page Sets; Grids; Grid rows can now be hidden

Page Set Grid rows can now be hidden.

This is performed in the InitialiseRow event by setting the row's Visible property as follows:

Public Sub gridTest_InitialiseRow(sender As Object,
                                  e As finPageObjectInitialiseRowEventArgs) Handles gridTest.InitialiseRow

  If e.ListIndex >= 0 AndAlso e.ListIndex < mAccount.Clients.Count Then
    With mAccount.Clients(e.ListIndex)
      ' Update Fields
      e.Row.Cells("ClientId").Value = .ClientId
      e.Row.Cells("Name").Value = .ClientName
      e.Row.Cells("AccountRoleId").Value = .AccountRoleId

      ' Hide Row
      If Not .IsOwner Then e.Row.Visible = False
    End With
  End If

End Sub