flex - How to make datagrid selection and hover effect (blue color) programmatically -


I have two datagrids, which should do everything except data entry. I have already managed to scroll synchronic using them scroll events. My question is now how to choose one item of a datagrad programmatically, and how to achieve the mouseover effect and underline this line with bright blue color?

Any pointers will be appreciated! Marcus

I found the solution: The change event marks you that someone clicks an item in the DataGrid Done:

changes = "changeswithcandgrid (event)" /> Change = "changeFirstGrid (event)" />

And then you can use this method to emulate the same action in other datagrid:

  firstGrid.editedItemPosition = {columnIndex: Event.columnIndex, rowIndex: Event.rowIndex};  

Marcus


Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -