摘要:
当Datagrid数据多时会出现滚动条,设置selectedIndex位置后,滚动条并不能根据Datagrid选中行的位置进行偏移。这时候可使用verticalScrollPosition属性AS:protectedfunctionbtn_clickHandler(event:MouseEvent):void{dgComplaints.selectedIndex=int(txt.text);dgComplaints.verticalScrollPosition=dgComplaints.selectedIndex;}MXML:<s:TextInputid="txt"/ 阅读全文
posted @ 2012-06-28 11:29
Anlycp
阅读(1118)
评论(0)
推荐(0)


浙公网安备 33010602011771号