2009-09-14 2 views
1

방금 ​​가져온 Flex AdvancedDataGrid 셀 행 및 열 인덱스를 어떻게 확인할 수 있습니까? calculateDropIndex는 나에게 행을 줄 것으로 보이지만 어떻게 열을 가져 옵니까?Flex AdvancedDataGrid로 드래그 앤 드롭

답변

1

의사 코드가 될 것입니다 :

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 

하고 열이 있어야합니다.

도움이 되었습니까?

+0

감사합니다. – Kwexi