On 2 Set, 17:38, Jeff Johnston <
jeff.johnston...@gmail.com> wrote:
> Its a good question. I cannot remember why this was not supported. I seem to
> remember the topic coming up though. It is clear in the Worksheet.addRow()
> method that if the column is not editable that the value does not get put
> into the worksheet. And if I work it through in my head I believe you would
> see the value as read-only the first time, but then you would lose it if the
> page was refreshed (or went to a different page (of the table) and came
> back).
>
> I was going to say that there would not be a quick fix for this, but I
> wonder if you could create your own WorksheetEditor and just have it return
> the value. So you would not apply the worksheet style and not put in the
> JavaScript.
>
> Take a look at the HtmlWorksheetEditor. What you could do is extend that and
> override the getWsColumn() method, with the style and JavaScript stripped
> out. The just plug it into the HtmlColumn.setWorksheetEditor() method. Also
> be sure to make the column editable, even though your editor will not make
> that so.
>
> -Jeff Johnston
>
> On Fri, Sep 2, 2011 at 5:23 AM, Massimiliano Del Matto