<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<window xmlns="http://schemas.haulmont.com/cuba/window.xsd"
        caption="msg://browseCaption"
        class="com.company.taxi.gui.carservicecenter.CarServiceCenterBrowse"
        focusComponent="carServiceCentersTable"
        lookupComponent="carServiceCentersTable"
        messagesPack="com.company.taxi.gui.carservicecenter">
    <dsContext>
        <collectionDatasource id="carServiceCentersDs"
                              class="com.company.taxi.entity.CarServiceCenter"
                              view="carServiceCenter-view">
            <query>
                <![CDATA[select e from taxi$CarServiceCenter e]]>
            </query>
        </collectionDatasource>
    </dsContext>
    <layout expand="carServiceCentersTable"
            spacing="true">
        <filter id="filter"
                applyTo="carServiceCentersTable"
                datasource="carServiceCentersDs">
            <properties include=".*"/>
        </filter>
        <table id="carServiceCentersTable"
               width="100%">
            <actions>
                <action id="create"/>
                <action id="edit"/>
                <action id="remove"/>
            </actions>
            <columns>
                <column id="name"/>
                <column id="phone"/>
                <column id="address"/>
            </columns>
            <rows datasource="carServiceCentersDs"/>
            <rowsCount/>
            <buttonsPanel id="buttonsPanel"
                          alwaysVisible="true">
                <button id="createBtn"
                        action="carServiceCentersTable.create"/>
                <button id="editBtn"
                        action="carServiceCentersTable.edit"/>
                <button id="removeBtn"
                        action="carServiceCentersTable.remove"/>
                <button id="button"
                        caption="msg://qwe"
                        invoke="onButtonClick"/>
            </buttonsPanel>
        </table>
    </layout>
</window>
