Article Details
Id:21488
Product:finPOWER Connect
Type:NEW
Version:4.01.01
Opened:23/05/2024
Closed:24/05/2024
Released:24/06/2024
Job: J033558

HTML Widgets; PreviewPane control; Added 'showPrint' option and Print() method

The HTML Widget PreviewPane control, used for functionality such as displaying a Credit Enquiry report on the Log Edit form, has been updated to support the following creation option:

wbServiceLog = widget.UI.PreviewPane("wbServiceLog", { showPrint: true });

This will display a Print button below the preview.

A Print() method has also been added to this control for situations where you want to add Print functionality but don't want a button strip to appear below the PreviewPane.