티스토리 뷰

Language/Flex

[ Flex ] DataGrid

MiniNeko 2015. 11. 29. 04:42

■ DataGrid 스크롤

private function moveItemHandler(event:MouseEvent):void {
   trace("휠" + event.delta);
   trace("스크롤 위치값 : " + dgChunjamoon.verticalScrollPosition);
   totalNumber = totalNumber - 2;
   if(dgChunjamoon.verticalScrollPosition > 2 && dgChunjamoon.verticalScrollPosition < totalNumber) { 
      dgChunjamoon.verticalScrollPosition = dgChunjamoon.verticalScrollPosition - event.delta;
   }

   //dgChunjamoon.scrollToIndex(30);
}

'Language > Flex' 카테고리의 다른 글

[ Flex ] ArrayCollection 데이터 추가  (0) 2015.11.29
[ Flex ][ UIComponent ] ComboBox  (0) 2015.11.29
[ Flex ][ UIComponent ] TextInput  (0) 2015.11.29
[ Flex ][ UIComponent ] Button  (0) 2015.11.29
[ Flex ][ Source ] CustomProgressBar  (0) 2015.11.29
Total
Today
Yesterday
최근에 올라온 글
«   2025/01   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31