Hi Hugo, some helpers:
1.- You can create a "DataGridSortBead" class in jewel library. package should be: org.apache.royale.jewel.beads.controls.datagrid 2.- add to jewel-manifest.xml 3.- code will be similar to the MXRoyale version. a) in the strand method override you retrieve the bead view (DataGridView) b) you create a listener for MouseEvent.CLICK (at that time if you put a trace in that handler you should see the traces as you click a button in the button bar) c) Finally you implement the sorting. That should be very similar to MXRoyale code just taking into account that Jewel uses ArrayList and ArrayListView for sorting. I think these are the main puzzle's pieces if you want to try it. El mié., 9 sept. 2020 a las 14:58, Hugo Ferreira (<hferreira...@gmail.com>) escribió: > "Now that you have a bit more experience" > Comparing to Flex, not so much. > > "what do you think about trying to create a Jewel version of > "DataGridSortBead"" > I think that I'm still very new to Royale and I never tried to create a > bead but I can try and check other bead to chek how to implement one. If > sucessed I will post here the source so any of you guys can add to source > tree. > > Carlos Rovira <carlosrov...@apache.org> escreveu no dia quarta, 9/09/2020 > à(s) 13:42: > > > Hi Hugo, > > > > Sorting in Jewel is still not implemented sorry. > > 'DataGridSortBead' is a bead from emulation library, so it will not work > > with Jewel. > > > > Now that you have a bit more experience with Royale and Jewel, what do > you > > think about trying to create a Jewel version of "DataGridSortBead" and > > submit for review as PR? I think we need folks like you trying to take > over > > Royale and join us helping where is possible. What do you think? > > > > Thanks > > > > El mié., 9 sept. 2020 a las 11:07, Hugo Ferreira (< > hferreira...@gmail.com > > >) > > escribió: > > > > > Hello, > > > > > > I have a Jewel DataGrid. > > > I see that Jewel DataGrid uses a button in header, obviously for > sorting. > > > Clicking nothing happens. > > > Once almost every property is added thru beads, I searched and found > this > > > bead: DataGridSortBead but after I added it the DataGrid shows empty > > > without any error in console. > > > > > > What I'm doing wrong here ? > > > > > > > > > -- > > Carlos Rovira > > http://about.me/carlosrovira > > > -- Carlos Rovira http://about.me/carlosrovira