" It does generate a ListEvent.ITEM_CLICK event. " I haven't been able to generate an "itemClick" event, only a "change" event. How were you able to accomplish this? The property itemClick is not implemented on the mx:DataGrid side. I explicitly added the eventListener for "itemClick" on the mx:DataGrid and never heard anything. It does not appear to be ever getting dispatched.
Hopefully I'm doing something wrong and "itemClick" is getting dispatched because all my code that relies on listening for an "itemClick" event will break if this is not the case. I'm asking if this was a design choice by Royale and how should I go about getting the properties of colIndex, rowIndex and ItemRenderer. On Thu, Apr 1, 2021 at 3:33 PM Edward Stangler <estang...@bradmark.com> wrote: > > It does generate a ListEvent.ITEM_CLICK event. > > > > On 4/1/2021 5:27 PM, gbarbosa wrote: > > Hi Royale Team, > > > > When I click on a row in my dataGrid the "change" event is dispatched. My > > question is why is this a ListEvent and furthermore why doesn't it have > the > > properties of itemRenderer, colIndex, rowIndex and reason set? > > > > What is the workaround to get these properties? > > > > From the Flex side ListBase would convert the "click" event into an > > "itemClick" event and set these properties and dispatch the event, this > must > > have been a design choice by Royale to break this functionality. > > > > What is the royale way to interact with the item in the mx:DataGrid at > the > > top level? > > > > Thank you for your time, > > Gabriel Barbosa > > > > > > > > -- > > Sent from: http://apache-royale-development.20373.n8.nabble.com/ > > > >