Hi Hugo,

Unfortunately, there's no "editing" concept in Jewel DataGrid.
But on the other hand we are in Royale and not in Flex, so things should be
easier to do.
In fact, this example [1] done with a Jewel List shows you maybe have all
the pieces to implement a custom cell editor yourself.

DataGrid uses a List for every column (and a ButtonBar for the header).
So you can:

a) create a custom DataGrid Renderer similar to the TODOMVC one (code is in
our examples/jewel/ and crux/ folders since there's 2 version one with crux
and other without). You can dispatch events the same way todomvc example
does just bubbling the event. Otherwise, you want to add some controller
bead for editing.
b) you use assign the custom renderer it to your DataGrid

if you do something that you think could be a good implementation you can
share here and even contribute, and I'll (and others) be glad to help you
with that.

[1] https://royale.apache.org/todomvc-jewel

El lun., 31 ago. 2020 a las 10:34, Hugo Ferreira (<[email protected]>)
escribió:

> Thank you.
> I will wait for Carlos feedback.
>
> Greg Dove <[email protected]> escreveu no dia domingo, 30/08/2020 à(s)
> 23:14:
>
> > Carlos can provide more details I am sure, but I know that Jewel DataGrid
> > is in progressive development and represents work-in-progress.
> > At the moment I don't consider that Flex-like itemEditors are supported,
> > but I expect it is intended to be in the future.
> >
> >
> >
> > On Mon, Aug 31, 2020 at 10:07 AM Hugo Ferreira <[email protected]>
> > wrote:
> >
> > > Hello,
> > >
> > > I continue my jorney on Royale with Jewel and I started now with
> DataGrid
> > > component.
> > > I'm facing an issue that I can't see how to edit an item inside the
> > > selected row: Label becames an editable component like TextInput.
> > > This is a very, very important feature of a DataGrid.
> > >
> > > This is not supported right now or I'm doing something wrong ?
> > >
> > > Thank you,
> > > Hugo.
> > >
> >
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to