Page 1 of 1
Sheet readOnly not work ?
Posted: 26 Jul 2018, 11:25
by bug007
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.
Re: Sheet readOnly not work ?
Posted: 26 Jul 2018, 13:24
by Melloware
I just tested this in the showcase locally with readOnly="true" on the pe:sheet...
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">
And the entire sheet is read only and all the cells are grey.
Re: Sheet readOnly not work ?
Posted: 26 Jul 2018, 15:26
by bug007
Yes true, I just test it.
But excuse me, I missing to said it's on sheetcolumn where it not work, it for that I told about readonlyCell !
Re: Sheet readOnly not work ?
Posted: 26 Jul 2018, 15:36
by Melloware
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}" />
Re: Sheet readOnly not work ?
Posted: 26 Jul 2018, 16:32
by bug007
Ho Yes, the editor alerte make me wrong ... Now it work