<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: hand  
    $Date: 2016-6-20 下午6:17:45  
    $Revision: 1.0  
    $Purpose: 
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:init-procedure/>
    <a:view>
        <script type="text/javascript"><![CDATA[
			function query_con_collection_persons_result_ds(){
				$('con_collection_persons_result_ds').query();
			}
			function reset_con_collection_persons_query_ds(){
				$('con_collection_persons_query_ds').reset();
			}
		]]></script>
        <a:dataSets>
            <a:dataSet id="con_collection_persons_query_ds" autoCreate="true">
                <a:fields/>
            </a:dataSet>
            <a:dataSet id="con_collection_persons_result_ds" model="cont.CON630.con_collection_persons" selectable="true" selectionModel="single">
                <a:fields>
                    <a:field name="staff_id"/>
                    <a:field name="type_id"/>
                    <a:field name="group_id"/>
                    <a:field name="staff_name"/>
                    <a:field name="district"/>
                    <a:field name="note"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:grid id="grid_id2" bindTarget="con_collection_persons_result_ds" height="175" marginWidth="50" navBar="true">
            <a:toolBar>
                <a:button type="add"/>
                <a:button type="save"/>
                <a:button type="delete"/>
            </a:toolBar>
            <a:columns>
                <a:column name="type_id" editor="grid_id_numberField_id2" prompt="CON_COLLECTION_PERSONS.TYPE_ID" width="100"/>
                <a:column name="group_id" editor="grid_id_numberField_id2" prompt="CON_COLLECTION_PERSONS.GROUP_ID" width="100"/>
                <a:column name="staff_name" editor="grid_id_textField_id2" prompt="CON_COLLECTION_PERSONS.STAFF_NAME" width="100"/>
                <a:column name="district" editor="grid_id_textField_id2" prompt="CON_COLLECTION_PERSONS.DISTRICT" width="100"/>
                <a:column name="note" editor="grid_id_textField_id2" prompt="CON_COLLECTION_PERSONS.NOTE" width="100"/>
            </a:columns>
            <a:editors>
                <a:numberField id="grid_id_numberField_id2"/>
                <a:textField id="grid_id_textField_id2"/>
            </a:editors>
        </a:grid>
        <a:hBox/>
    </a:view>
</a:screen>
