Percent height in pe:DocumentView

Community Driven Extensions Project
Post Reply
XyVy
Posts: 1
Joined: 04 Mar 2021, 18:24

05 Mar 2021, 18:28

Hello guys

When I try to change height in pe:DocumentViewer to use % I obtain an error.

Is there any way to do pe:DocumentViewer height be a percent of screen size?

thanks in advance.
Primefaces 7, Javax-faces: 2.2.14, Tomcat 8.5

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

07 Mar 2021, 14:54

It looks like this was fixed in PFE 6.2 see ticket: https://github.com/primefaces-extension ... issues/504

Code: Select all

public String getHeight() {
        return (String) this.getStateHelper().eval(PropertyKeys.height, null);
    }

    public void setHeight(final String height) {
        this.getStateHelper().put(PropertyKeys.height, height);
    }
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests