Worksheet with some rows not editable

7 views
Skip to first unread message

Lorie

unread,
Mar 10, 2012, 10:22:56 PM3/10/12
to jmesa_forum
I don't think this is possible but wanted to ask just to make sure. Is
it possible to have a worksheet where some rows are editable and some
are not?

Thanks,
Lorie

Jeff Johnston

unread,
Mar 10, 2012, 11:35:00 PM3/10/12
to jmesa...@googlegroups.com
You can pretty much customize most things about JMesa!

Someone just asked about this on the older forums board. The short answer is you can proxy the WorksheetEditor, or create a custom HtmlCellRenderer.

I think the easiest thing to do would be to instantiate a HtmlWorksheetEditor and then proxy it with your own WorksheetEditor. To use it just set it on your column with the column.setWorksheetEditor.

http://groups.google.com/group/jmesa/browse_thread/thread/fcee8b7a48f1582

Let me know if you have any problems...you could also ask the other user on the other forum if you need some code snippets. I should put an example on the site as well.

-Jeff Johnston

Jeff Johnston

unread,
Mar 10, 2012, 11:40:02 PM3/10/12
to jmesa...@googlegroups.com
Be sure to take a look at the source code for the HtmlWorksheetEditor. There isn't much to it and I think you will see exactly what you need to do to proxy it.

Sam Welter

unread,
Apr 27, 2012, 6:54:28 PM4/27/12
to jmesa_forum
I am also interested in this topic. I followed the link above to the
old discussion group, but it seemed to refer to an older thread which
discussed the topic in more detail. Any suggestions?

Thanks!

Sam

On Mar 10, 11:40 pm, Jeff Johnston <jeff.johnston...@gmail.com> wrote:
> Be sure to take a look at the source code for the HtmlWorksheetEditor.
> There isn't much to it and I think you will see exactly what you need to do
> to proxy it.
>
> On Sat, Mar 10, 2012 at 10:35 PM, Jeff Johnston
> <jeff.johnston...@gmail.com>wrote:
>
>
>
> > You can pretty much customize most things about JMesa!
>
> > Someone just asked about this on the older forums board. The short answer
> > is you can proxy the WorksheetEditor, or create a custom HtmlCellRenderer.
>
> > I think the easiest thing to do would be to instantiate a
> > HtmlWorksheetEditor and then proxy it with your own WorksheetEditor. To use
> > it just set it on your column with the column.setWorksheetEditor.
>
> >http://groups.google.com/group/jmesa/browse_thread/thread/fcee8b7a48f...
>
> > Let me know if you have any problems...you could also ask the other user
> > on the other forum if you need some code snippets. I should put an example
> > on the site as well.
>
> > -Jeff Johnston
>
> > On Sat, Mar 10, 2012 at 9:22 PM, Lorie <loriemoff...@gmail.com> wrote:
>
> >> I don't think this is possible but wanted to ask just to make sure. Is
> >> it possible to have a worksheet where some rows are editable and some
> >> are not?
>
> >> Thanks,
> >> Lorie- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages