현재 Flex 프로젝트에서 작업하고 있으며 목록의 내용을 모두 가지고 있습니다. 기본적으로 모두 선택되어 있습니다. 어떻게하는지 궁금합니다. 어떤 도움을 주시면 감사하겠습니다. 플렉스 목록은 기본적으로 전체 목록을 선택했습니다.
<mx:List id="list" dataProvider="{dp}" allowMultipleSelection="true"/>
<mx:List id="list" dataProvider="{dp}" allowMultipleSelection="true"
creationComplete="event.currentTarget.selectedItems = event.currentTarget.dataProvider.source"/>
당신이 어떤 목록을 사용합니까? 스파크 또는 MX? 문제가있는 곳을 파악하기 위해 코드를 게시 할 수 있습니까? – Constantiner
@ Constantiner 나는 모든 코드를 선택할 수 있도록 시작할 위치를 알지 못하기 때문에 보여줄 코드가별로 없습니다. – Delphy
데이터 제공 업체는 무엇입니까? 'Array','ArrayCollection'? – Constantiner