Describe the bug
On a Card/ Document page layout if you have a Part with a lispart page in it and if you control its visibility property from code it always appears collapsed - before v17 it started as open. And also messes up the list header - not scrolling with the columns.
To Reproduce
Steps and to reproduce the behavior:
- Just add a list part to a Document page and populate the Visibility property with a Boolean field.
AL Code to reproduce the issue
part(SalesLines; "Sales Order Subform")
{
ApplicationArea = Basic, Suite;
Visible = SalesLinesVisible;
Editable = DynamicEditable;
Enabled = "Sell-to Customer No." <> '';
SubPageLink = "Document No." = FIELD("No.");
UpdatePropagation = Both;
}
Expected behavior
If the Visibility boolean set to true then show the part page opened and be able to scroll left or right with the column headers following the columns.
Screenshots
If applicable, add screenshots to help explain your problem.
5. Versions:
- Business Central: 17.0.16993.0
Describe the bug
On a Card/ Document page layout if you have a Part with a lispart page in it and if you control its visibility property from code it always appears collapsed - before v17 it started as open. And also messes up the list header - not scrolling with the columns.
To Reproduce
Steps and to reproduce the behavior:
AL Code to reproduce the issuepart(SalesLines; "Sales Order Subform")
{
ApplicationArea = Basic, Suite;
Visible = SalesLinesVisible;
Editable = DynamicEditable;
Enabled = "Sell-to Customer No." <> '';
SubPageLink = "Document No." = FIELD("No.");
UpdatePropagation = Both;
}
Expected behavior
If the Visibility boolean set to true then show the part page opened and be able to scroll left or right with the column headers following the columns.
Screenshots
If applicable, add screenshots to help explain your problem.
5. Versions: