1

How do I determine which Flex AdvancedDataGrid cell - row and column index - I've just dropped onto? calculateDropIndex seems to give me the row, but how do I get the column?

Kwexi
  • 1,013
  • 10
  • 17

1 Answers1

1

It is going to be a pseudo code:

on drop:
 get x coordinate local to that grid when dropped
 loop over visible grid columns while adding their widths
 stop when total widths is greater than x coord

and there should be your column.

Does that help?