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
Post a Comment