Hi Hugo, sounds good to me :) Is it working in the current shape?
El jue., 29 oct. 2020 a las 15:11, Hugo Ferreira (<[email protected]>) escribió: > Hi Carlos, > > I had created a VirtualDataGrid that extends from DataGrid, > VirtualDataGridColumnList that extends from VirtualList (this is the big > difference with DataGridColumn) and VirtualDataGridView (it's a copy of > DataGridView for now). > > Setup the css for VirtualDataGrid and VirtualDataGridColumnList (a copy > from DataGrid css but point for the new files). > > Am I doing it on the right way ? > Do I missing something in the way ? > > Hugo Ferreira <[email protected]> escreveu no dia segunda, 26/10/2020 > à(s) 09:53: > > > Hi Carlos, > > > > Yes, IDataGrid it was one of the probabilities causes. > > Even so, it's the same behaviour. > > I will go even deeper to find out what it's missing. > > Will take more time but it's necessary. > > > > Carlos Rovira <[email protected]> escreveu no dia domingo, > > 25/10/2020 à(s) 19:10: > > > >> Hi Hugo, > >> > >> I refactor DataGrid beads to use IDataGrid instead of DataGrid. Please > try > >> with the current updates and let me know if you get more near. I guess > the > >> problem could be the hard coded DataGrid, but maybe it could be more > than > >> that. At least this one for sure is one of the issues that must be > solved. > >> > >> El dom., 25 oct. 2020 a las 16:53, Hugo Ferreira (< > [email protected] > >> >) > >> escribió: > >> > >> > Hi Carlos, > >> > > >> > I already checked DataGridColumnList in hope but seems that it's not > >> that > >> > the case. > >> > It's need more time to find out the missing piece. > >> > > >> > Carlos Rovira <[email protected]> escreveu no dia domingo, > >> > 25/10/2020 > >> > à(s) 14:40: > >> > > >> > > Hi Hugo, > >> > > > >> > > all that seems ok. But I need to invest some time to see more in > >> detail > >> > and > >> > > investigate. For example, DataGridView could be expecting a > >> > > DataGridColumnList instead of an interface that can be used by both > >> > > classes...don't know. > >> > > > >> > > How's your user going? you got it finally? > >> > > > >> > > El dom., 25 oct. 2020 a las 12:32, Hugo Ferreira (< > >> > [email protected] > >> > > >) > >> > > escribió: > >> > > > >> > > > Hi Carlos, > >> > > > > >> > > > To make the VirtualDataGrid works, I need to create a > >> > > > new VirtualDataGridColumnList (a copy of DataGridColumnList) but > >> that > >> > > > extends from VirtualList instead of List. > >> > > > I also need to configure my css to point my columnClass of > DataGrid > >> to > >> > > the > >> > > > new VirtualDataGridColumnList. > >> > > > That's correct ? > >> > > > > >> > > > So far, I tryed to made this. > >> > > > There is no errors but the DataGrid shows empty. > >> > > > I guess that I need to figure out to change other file that > expect a > >> > > > DataGridColumnList and as find a VirtualDataGridColumnList, it > cast > >> to > >> > > null > >> > > > (just a guess). > >> > > > > >> > > > Carlos Rovira <[email protected]> escreveu no dia domingo, > >> > > > 25/10/2020 > >> > > > à(s) 10:41: > >> > > > > >> > > > > Hi Hugo, > >> > > > > > >> > > > > right, the config is done in CSS: > >> > > > > > >> > > > > j|VirtualList > >> > > > > IBeadView: ClassReference( > >> > > > > "org.apache.royale.jewel.beads.views.VirtualListView") > >> > > > > IBeadLayout: ClassReference( > >> > > > > > "org.apache.royale.jewel.beads.layouts.VirtualListVerticalLayout") > >> > > > > IDataProviderItemRendererMapper: ClassReference( > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > "org.apache.royale.jewel.beads.itemRenderers.VirtualDataItemRendererFactoryForCollectionView" > >> > > > > ) > >> > > > > IBeadKeyController: ClassReference( > >> > > > > > >> > > > >> > "org.apache.royale.jewel.beads.controllers.VirtualListKeyDownController") > >> > > > > > >> > > > > so it's mainly a combo between the view, the layout and the data > >> > > mapper. > >> > > > > Then the VirtualListKeyDownController is unfinished and just > >> > overrides > >> > > > the > >> > > > > original List key controller to avoid problems. That will need > >> work > >> > to > >> > > be > >> > > > > done to make keys working properly in the virtual list as in > >> normal > >> > > list. > >> > > > > > >> > > > > List can use that beads, and configure via mxml (for example), > but > >> > > seems > >> > > > > that having a component that configure all of this was very > >> > convenient. > >> > > > > > >> > > > > > >> > > > > > >> > > > > El dom., 25 oct. 2020 a las 11:02, Hugo Ferreira (< > >> > > > [email protected] > >> > > > > >) > >> > > > > escribió: > >> > > > > > >> > > > > > I think I found it. > >> > > > > > It's VirtualListView added by css. > >> > > > > > > >> > > > > > Hugo Ferreira <[email protected]> escreveu no dia > domingo, > >> > > > > 25/10/2020 > >> > > > > > à(s) 01:08: > >> > > > > > > >> > > > > > > Hi, > >> > > > > > > > >> > > > > > > I have a Jewel DataGrid that I'm trying to load many rows. > >> > > > > > > The current DataGrid cannot handle this. > >> > > > > > > So, I checked VirtualList and VirtualComboBox. > >> > > > > > > On another thread, Carlos mentions about issues on this two. > >> > > > > > > I didn't see iet, any errors. > >> > > > > > > > >> > > > > > > Question 1: > >> > > > > > > To move forward I need to implement Jewel VirtualDataGrid, > >> > however > >> > > I > >> > > > > > > checked VirtualList (also VirtualComboBox) to learn from > them > >> > and I > >> > > > saw > >> > > > > > > just an empty class that extends from List. > >> > > > > > > This is done by css or something else ? > >> > > > > > > > >> > > > > > > Question 2: > >> > > > > > > Shouldn't be better to have a VirtualData bead for any > "list" > >> > > bread. > >> > > > > > > Seems a duplicating. > >> > > > > > > We have a similar situation in past with Flex with DataGrid > >> and > >> > > > > > > AdvancedDataGrid. > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > > -- > >> > > > > Carlos Rovira > >> > > > > Apache Member & Apache Royale PMC > >> > > > > *Apache Software Foundation* > >> > > > > http://about.me/carlosrovira > >> > > > > > >> > > > > >> > > > >> > > > >> > > -- > >> > > Carlos Rovira > >> > > Apache Member & Apache Royale PMC > >> > > *Apache Software Foundation* > >> > > http://about.me/carlosrovira > >> > > > >> > > >> > >> > >> -- > >> Carlos Rovira > >> Apache Member & Apache Royale PMC > >> *Apache Software Foundation* > >> http://about.me/carlosrovira > >> > > > -- Carlos Rovira Apache Member & Apache Royale PMC *Apache Software Foundation* http://about.me/carlosrovira
