Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » GridTableViewer - Inline Editing - Databinding
GridTableViewer - Inline Editing - Databinding [message #53490] Tue, 20 May 2008 10:10 Go to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 98
Registered: July 2009
Member
Hello there.

I just wondered if databinding within a gridtableviewer is possible the
way it's shown in the Jface databinding snippet 13? I doubt, that this
is possible right now, since the GridColumn doesn't derive from a
TableViewerColumn. Or am I wrong?

Is there any way to provide databinding with inline editing support in a
grid table viewer, similar to the JFace TableViewer?

Regards,

Peter
Re: GridTableViewer - Inline Editing - Databinding [message #53518 is a reply to message #53490] Tue, 20 May 2008 10:29 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
No it works out of the box simply replace Table occurrances through Grid
and everything should work. The important thing is that they both
inherit from ViewerColumn and ColumnViewer.

Tom

Peter Pfeifer schrieb:
> Hello there.
>
> I just wondered if databinding within a gridtableviewer is possible the
> way it's shown in the Jface databinding snippet 13? I doubt, that this
> is possible right now, since the GridColumn doesn't derive from a
> TableViewerColumn. Or am I wrong?
>
> Is there any way to provide databinding with inline editing support in a
> grid table viewer, similar to the JFace TableViewer?
>
> Regards,
>
> Peter


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: GridTableViewer - Inline Editing - Databinding [message #53545 is a reply to message #53518] Tue, 20 May 2008 10:51 Go to previous message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 98
Registered: July 2009
Member
Thanks.

I found out that I should use the GridColumnViewer, which makes it
possible to set the EditingSupport.

Regards,

Peter

Tom Schindl schrieb:
> No it works out of the box simply replace Table occurrances through Grid
> and everything should work. The important thing is that they both
> inherit from ViewerColumn and ColumnViewer.
>
> Tom
>
> Peter Pfeifer schrieb:
>> Hello there.
>>
>> I just wondered if databinding within a gridtableviewer is possible
>> the way it's shown in the Jface databinding snippet 13? I doubt, that
>> this is possible right now, since the GridColumn doesn't derive from a
>> TableViewerColumn. Or am I wrong?
>>
>> Is there any way to provide databinding with inline editing support in
>> a grid table viewer, similar to the JFace TableViewer?
>>
>> Regards,
>>
>> Peter
>
>
Re: GridTableViewer - Inline Editing - Databinding [message #590012 is a reply to message #53490] Tue, 20 May 2008 10:29 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
No it works out of the box simply replace Table occurrances through Grid
and everything should work. The important thing is that they both
inherit from ViewerColumn and ColumnViewer.

Tom

Peter Pfeifer schrieb:
> Hello there.
>
> I just wondered if databinding within a gridtableviewer is possible the
> way it's shown in the Jface databinding snippet 13? I doubt, that this
> is possible right now, since the GridColumn doesn't derive from a
> TableViewerColumn. Or am I wrong?
>
> Is there any way to provide databinding with inline editing support in a
> grid table viewer, similar to the JFace TableViewer?
>
> Regards,
>
> Peter


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: GridTableViewer - Inline Editing - Databinding [message #590023 is a reply to message #53518] Tue, 20 May 2008 10:51 Go to previous message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 98
Registered: July 2009
Member
Thanks.

I found out that I should use the GridColumnViewer, which makes it
possible to set the EditingSupport.

Regards,

Peter

Tom Schindl schrieb:
> No it works out of the box simply replace Table occurrances through Grid
> and everything should work. The important thing is that they both
> inherit from ViewerColumn and ColumnViewer.
>
> Tom
>
> Peter Pfeifer schrieb:
>> Hello there.
>>
>> I just wondered if databinding within a gridtableviewer is possible
>> the way it's shown in the Jface databinding snippet 13? I doubt, that
>> this is possible right now, since the GridColumn doesn't derive from a
>> TableViewerColumn. Or am I wrong?
>>
>> Is there any way to provide databinding with inline editing support in
>> a grid table viewer, similar to the JFace TableViewer?
>>
>> Regards,
>>
>> Peter
>
>
Previous Topic:GridTableViewer - Inline Editing - Databinding
Next Topic:Row Height
Goto Forum:
  


Current Time: Fri Dec 27 01:51:09 GMT 2024

Powered by FUDForum. Page generated in 0.04594 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top