I'm having some troubles with a Flex App I'm working on. I'm
trying to use a DataGrid to present a list of options to the user.
I want them to be able to change the order of the objects inside
the DataGrid by dragging and dropping them around. I have got this
far without any troubles.
The issue that I'm having is that I want to prevent them from
dropping an object if the position they are dragging it to does not
meet certain criteria. I.e. I have the list, but I might want the
first 4 objects to remain in that position, but the rest can be
moved about as they wish.
Can anyone give me any hints on how to pull this off without
writing thousands of lines of code?