Hi Hugo, just solved the issue :) Also added a new blog example (temporal) where you can grab a working DataGrid (I also added List and DataContainer examples).
https://github.com/apache/royale-asjs/tree/develop/examples/blog/BE0016_Live_Editing_DataGrid We still need to add events like "itemEditBegin", "itemEditEnd",... but that should be pretty straightforward, based on the current renderer. Maybe a "EditableDataGrid" with all this support will be better... Hope you could use this example in the meantime. Best Carlos El vie., 4 sept. 2020 a las 0:23, Carlos Rovira (<[email protected]>) escribió: > Hi Hugo > just found the source of the problem: > > IBeadKeyController: ClassReference( > "org.apache.royale.jewel.beads.controllers.ListKeyDownController") > > :) > > So now it's a matter of seeing how to deal with this :) > > > > El vie., 4 sept. 2020 a las 0:20, Carlos Rovira (<[email protected]>) > escribió: > >> Hi, >> >> I isolated the problem to List and DataGrid. The problem is not happening >> in DataContainer...so we know nothing about the TextInput and can >> concentrate in List and DataGrid. >> >> El vie., 4 sept. 2020 a las 0:08, Hugo Ferreira (<[email protected]>) >> escribió: >> >>> Exactly from your description. >>> As soon the public sample is updated it will stop working, unless we find >>> the bug first. >>> >>> Carlos Rovira <[email protected]> escreveu no dia quinta, >>> 3/09/2020 >>> à(s) 21:36: >>> >>> > Hi Hugo, >>> > >>> > right, when I did it was working (and the posted version was from that >>> > time). Then I tested some other times, but seems some update break it >>> at >>> > some point. >>> > >>> > El jue., 3 sept. 2020 a las 20:07, Hugo Ferreira (< >>> [email protected] >>> > >) >>> > escribió: >>> > >>> > > I just tested the TODO live sample and it's working: >>> > > https://royale.apache.org/todomvc-jewel >>> > > If it's not working the development branch can probably be related >>> to a >>> > > recent bug. >>> > > >>> > > Carlos Rovira <[email protected]> escreveu no dia quinta, >>> > 3/09/2020 >>> > > à(s) 18:34: >>> > > >>> > > > Hi, >>> > > > >>> > > > I continued searching the problem and found the same is happening >>> in >>> > List >>> > > > and in TodoMVC example :( >>> > > > still don't know what could be wrong. Will continue searching. >>> > > > Maybe something related to tabindex? >>> > > > >>> > > > >>> > > > El jue., 3 sept. 2020 a las 17:28, Hugo Ferreira (< >>> > > [email protected] >>> > > > >) >>> > > > escribió: >>> > > > >>> > > > > Thanks. >>> > > > > Putting the TextInput inside of a DataGrid, allowing editing has >>> been >>> > > the >>> > > > > biggest challenge so far. >>> > > > > >>> > > > > Carlos Rovira <[email protected]> escreveu no dia quinta, >>> > > > 3/09/2020 >>> > > > > à(s) 16:13: >>> > > > > >>> > > > > > Hi Hugo, >>> > > > > > >>> > > > > > I've done an example trying to do the live editing datagrid. >>> > > > > > >>> > > > > > https://we.tl/t-BrViPUDncg >>> > > > > > >>> > > > > > For now I got switching labels to text input but in editing >>> mode >>> > > > > something >>> > > > > > prevents the textinput to getting edited. >>> > > > > > >>> > > > > > Please, check if you get that to work and can provide a >>> solution, >>> > if >>> > > > not >>> > > > > > I'll try another day I have more time. >>> > > > > > >>> > > > > > In the todomvc example that worked without problem and was a >>> List >>> > > too. >>> > > > In >>> > > > > > DG each column is a List, so don't know why it is not working >>> right >>> > > > now, >>> > > > > > maybe something in DG is interfering (maybe some event like >>> > > > > > "selectionChanged"). Another cause could be the "focus" >>> support in >>> > > > > browsers >>> > > > > > that works sometimes very "strangely". >>> > > > > > >>> > > > > > Maybe others here can take a look as well to this focus issue >>> and >>> > > know >>> > > > > > what's happening under the hood (Piotr?, Greg?,...) >>> > > > > > >>> > > > > > As we get it working we can integrate better in Royale and >>> give a >>> > > > better >>> > > > > > look and feel. >>> > > > > > >>> > > > > > Thanks >>> > > > > > >>> > > > > > -- >>> > > > > > Carlos Rovira >>> > > > > > http://about.me/carlosrovira >>> > > > > > >>> > > > > >>> > > > >>> > > > >>> > > > -- >>> > > > Carlos Rovira >>> > > > http://about.me/carlosrovira >>> > > > >>> > > >>> > >>> > >>> > -- >>> > Carlos Rovira >>> > http://about.me/carlosrovira >>> > >>> >> >> >> -- >> Carlos Rovira >> http://about.me/carlosrovira >> >> > > -- > Carlos Rovira > http://about.me/carlosrovira > > -- Carlos Rovira http://about.me/carlosrovira
