Article Details
| Id: | 13532 |
| Product: | finPOWER Connect |
| Type: | NEW |
| Version: | 2.03.04 |
| Opened: | 23/12/2015 |
| Closed: | 07/01/2016 |
| Released: | 03/02/2016 |
| 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