Page Tree | ||
---|---|---|
|
...
O filtro simples define qual campo será relacionado no grid para o resultado da busca. Esse filtro é padrão do CRUD.
...
Bloco de código |
---|
<?xml version="1.0" encoding="utf-8"?> <view:ViewPresentationModel width="100%" height="100%" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:view Importar no projeto area do agrupador de cabeçalho. xmlns="com.datasul.framework.ui.templates.view.*" creationCompleteEffect="Fade" resizeEffect="Resize" moveEffect="Move" initController="com.datasul.meiu.tabfolder.ExemploTabFolderController" initModel="com.datasul.meiu.tabfolder.ExemploTabFolderModel" initialize="_controller.init()" layout="absolute" title="Teste" icon="@Embed('/assets/icons/hot/user_16.png')" headerIcon="@Embed('/assets/icons/hot/user_32.png')"> <view:headerContent> <mx:ApplicationControlBar width="100% <header:GroupHeader title="{I18NService.translate('universal.shipment.label')}" width="179" height="6080"> <mx:HBox width="100%" height="100%" horizontalAlign="center" verticalAlign="middle" horizontalGap="20"> <mx:HBox height="35" styleName="boxAgrupador" horizontalAlign="center" verticalAlign="middle"> <mx:LinkButton label="Salvar" icon="@Embed(source='/assets/icons/hot/close_a_16.png')" toolTip="Salva as configurações do Desktop"/> <mx:LinkButton label="Carregar" icon="@Embed(source='/assets/icons/hot/close_a_16.png')" toolTip="Carrega as opções do Desktop"/> <mx:LinkButton label="Restaurar" icon="@Embed(source='/assets/icons/hot/close_a_16.png')" toolTip="Restaura as configurações do Desktop"/> <mx:LinkButton label="Organizar" icon="@Embed(source='/assets/icons/hot/close_a_16.png')" toolTip="Organiza os itens do Desktop"/> </mx:HBox> <mx:Spacer width="100%"/> <mx:HBox height="35" styleName="boxAgrupador" horizontalAlign="center" verticalAlign="middle"> <mx:LinkButton label="Visualizar" icon="@Embed(source='/assets/icons/arrows/down.png')" toolTip="Define o zoom no Desktop"/> </mx:HBox> <mx:HBox height="35" styleName="boxAgrupador" horizontalAlign="center" verticalAlign="middle" horizontalGap="0"> <mx:LinkButton label="-" textDecoration="none" toolTip="Diminuir zoom"/> <mx:HSlider width="70" tickInterval="2" toolTip="Zoom"/> <mx:LinkButton label="+" textDecoration="none" toolTip="Aumentar zoom"/> </mx:HBox> </mx:HBox> </mx:ApplicationControlBar> </view:headerContent> <mx:Binding source="model" destination="_model" /> <mx:Binding source="controller" destination="_controller" /> <mx:Script> <![CDATA[ [Bindable] private var _model:ExemploTabFolderModel; [Bindable] private var _controller:ExemploTabFolderController; [Bindable] public var PopUpMenuButtonDataProvider:Array = [ {label: "Item A"}, {label: "Item B"}, {label: "Item C"} ]; ]]> </mx:Script> <mx:VBox width="100%" height="100%" styleName="boxAgrupador" verticalGap="0"> <mx:Canvas width="100%" height="100%"> <mx:DataGrid width="100%" height="100%" dataProvider="{PopUpMenuButtonDataProvider}"/> </mx:Canvas> <mx:ControlBar width="100%" height="40"> <mx:Button label="focal" styleName="focalButton"/> <mx:Button label="normal"/> <mx:PopUpMenuButton showRoot="true" dataProvider="{PopUpMenuButtonDataProvider}"/> </mx:ControlBar> </mx:VBox> </view:ViewPresentationModel> Nesta área deve ser adicionado o seu conteúdo do agrupador. Para título na parte inferior utilizar o "title" </header:GroupHeader> |
...
dts_pagetree |
---|
sdk_doc_footer |
---|