아이템 렌더러를 클릭하여 여러 행을 선택할 수 있습니다.SelectItem Method in spark Datagrid?
이
override protected function selectItem(item:IListItemRenderer,
shiftKey:Boolean, ctrlKey:Boolean,
transition:Boolean = true):Boolean
{
// only run selection code if a checkbox was hit and always
// pretend we're using ctrl selection
if (item is CheckBox)
return super.selectItem(item, shiftKey, true, transition);
else //Avenir Cokaj 23/06/11: this enables the flex's natural selection
return super.selectItem(item, shiftKey, ctrlKey, transition);
}
mx:Datagrid
(other answer)
s:Datagrid
에는
super.selectItem
가 없다?
[스파크 체크 박스 그리드] (http://blogs.adobe.com/aharui/2011/03/spark-checkbox-datagrid-with-drag-and-drop-support.html) 대신 –