<s:Group id="resultsState" includeIn="Results" width="100%" height="100%" y="20"> <s:Panel width="100%" height="100%"> <s:DataGrid id="resultGrid" width="100%" height="100%" requestedRowCount="5"> <s:ArrayCollection> <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/> <s:DataItem key="1001" name="Brush" price="110.01" call="true"/> <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/> <s:DataItem key="1003" name="Drill" price="130.03" call="true"/> <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/> <s:DataItem key="1005" name="File" price="150.05" call="true"/> <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/> <s:DataItem key="1007" name="Hook" price="170.07" call="true"/> <s:DataItem key="1008" name="Ink" price="180.08" call="false"/> <s:DataItem key="1009" name="Jack" price="190.09" call="true"/> </s:ArrayCollection> </s:DataGrid> </s:Panel> </s:Group>
<s:Group id="resultsState" includeIn="Results" width="100%" height="100%" y="20"> <s:Panel width="100%" height="100%"> <s:TextArea text="test test test... this works fine"/> </s:Panel> </s:Group>
<viewer:WidgetTemplate id="myCustomWidget" includeIn="Params,Processing, Results" width="450" height="600" minWidth.Params="415" minHeight.Params="150"> <s:Scroller width="100%" height="100%" y="25" horizontalScrollPolicy="on" verticalScrollPolicy="on"> <s:Group id="widgetGrp" width="100%" height="100%"> <s:Group id="paramsArea" width="100%" height="100%" y="-35" includeIn="Params"> <s:TextInput id="filter" x="68" y="48" text=""OBJECTID"<200" width="289" height="20"/> <s:Button id="submit" x="190" y="720" label="Submit" click="submit_clickHandler(event)"/> <s:Button id="clear" x="270" y="720" label="Clear Results" click="clear_clickHandler(event)"/> </s:Group> <s:Group id="processArea" width="100%" height="100%" includeIn="Processing"> <s:TextArea id="statusArea" width="100%" height="100%" y="20" alpha="0.7" verticalScrollPolicy="off"/> </s:Group> <s:Group id="resultsArea" includeIn="Results" width="100%" height="100%" y="20"> <s:Panel width="100%" height="100%"> <s:TextArea text="test test test... this works fine"/> </s:Panel> </s:Group> </s:Group> </s:Scroller> </viewer:WidgetTemplate>
Solved! Go to Solution.