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
>

Reply via email to