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

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

.net - Self Tracking Entities (STE)'s and partial updates with EF4 and mVC2 -