NEW2.03.04 · Released 3 February 2016
NEWfinPOWER Connect
Released in
2.03.04
3 February 2016
- Opened23 Dec 2015
- Closed7 Jan
- 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.InitialiseRowIf e.ListIndex >= 0 AndAlso e.ListIndex < mAccount.Clients.Count ThenWith mAccount.Clients(e.ListIndex)' Update Fieldse.Row.Cells("ClientId").Value = .ClientIde.Row.Cells("Name").Value = .ClientNamee.Row.Cells("AccountRoleId").Value = .AccountRoleId' Hide RowIf Not .IsOwner Then e.Row.Visible = FalseEnd WithEnd IfEnd Sub