Reputation: 489
Is there a way to disable the Next and Previous buttons on the Sales Order screen? I was able to change the Visibility of the First and Last buttons under the DataSource but can't find the Next and Previous button:
Upvotes: 0
Views: 150
Reputation: 5623
Alternative to the other answer is to set the Actions in a graph extension:
// Hide
Base.Next.SetVisible(false);
Base.Previous.SetVisible(false);
or
// Disable but visible
Base.Next.SetEnabled(false);
Base.Previous.SetEnabled(false);
Upvotes: 1
Reputation: 489
IN the customization project edit the ASPX and add the Next and Previous buttons:
<px:PXDSCallbackCommand Visible="False" Name="Last" PostData="Self" ></px:PXDSCallbackCommand>
<px:PXDSCallbackCommand Visible="False" Name="Previous" PostData="Self" ></px:PXDSCallbackCommand>
Upvotes: 0