Version 6.2.7
I would like to use readOnly="true" but it is not work for me. is there an issue ?
I can Workarround with readonlyCell ...
Hope this can help.
Sheet readOnly not work ?
I just tested this in the showcase locally with readOnly="true" on the pe:sheet...
And the entire sheet is read only and all the cells are grey.
Code: Select all
<pe:sheet id="sheet" widgetVar="sheetWidget" value="#{sheetController.assets}" var="row"
height="400" rowKey="#{row.assetId}" fixedCols="2" fixedRows="3" showRowHeaders="true"
resizableCols="true" resizableRows="true" filteredValue="#{sheetController.filteredAssets}"
sortBy="#{row.assetId}" sortOrder="ascending" readOnly="true">
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
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
OK on sheet column the O is lowercase. readonly instead of readOnly.
Code: Select all
<pe:sheetcolumn headerText="Id (read-only)"
readonly="true"
value="#{row.assetId}"
sortBy="#{row.assetId}"
colWidth="150"
filterBy="#{row.assetId}" />
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
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests