RE: Jewel List - selectionChange (Bis)

2020-11-04 Thread Maria Jose Esteve
Hi, This could be a possible implementation of the ScrollIndexToSelection bead: package .jewel.beads.controls.list { import org.apache.royale.core.IBead; import org.apache.royale.core.IStrand; import org.apache.royale.events.Event; import org.apache.royale.event

s:list itemrender was not update when we set data

2020-11-04 Thread Nallathambi, Varunkumar
Hi, I am migrating from flex to royale. I am using one mx:list and s:Itemrender in a popup. We are using this for autocomplete search. I set the data as [Bindable] . Even though it is not changing in display after I added into popup. But trace shows the updated dataprovider lengt

showCalendar

2020-11-04 Thread praveen captenarul
Hi, Current flex project has a calendar date picker. What is the equivalent in apache royale ? focusIn="ShowCalendar(true)" focusOut="ShowCalendar(false)" Regards, Praveen.

Re: Jewel List - selectionChange (Bis)

2020-11-04 Thread Carlos Rovira
Yeah, I think it should be pretty straight forward. For example a name could be "ScrollIndexToSelection" in the " org.apache.royale.jewel.beads.controls.list" package. Then it just listen for selectionChange event and do the scrollToIndex thanks! El miƩ., 4 nov. 2020 a las 10:40, Maria Jose Estev

RE: Jewel List - selectionChange (Bis)

2020-11-04 Thread Maria Jose Esteve
Right Carlos. If the guideline is that the operation should be the same, basically, I also think it should be a bead, since the application of the scrollToIndex, whenever the selected element is changed, it would be a sudden change. Would we agree to add this functionality in a bead? If you

Re: Jewel List - selectionChange (Bis)

2020-11-04 Thread Carlos Rovira
Hi Maria Jose, so if I'm understanding correctly, we currently have the same behaviour as Flex (maybe we need to update a bit to improve over time, but in essence is the same): Moving with keys trigger the scrollToIndex, but if we use programmatically selectedItem, the scrollToIndex is not trigger