Last change
on this file since 161 was
161,
checked in by patdui, 14 years ago
|
- added Filter searchbox on dataGrid
|
File size:
772 bytes
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" |
---|
3 | xmlns:comp="clarin.cmdi.componentregistry.common.components.*" > |
---|
4 | |
---|
5 | <mx:Script> |
---|
6 | <![CDATA[ |
---|
7 | // seting focus manually when a user clicks, this is the best I can do at the moment. |
---|
8 | //A form handles focus differently then for instance a list or a TextArea so scrolling using keys is a bit inconsistent among the different view at the moment. |
---|
9 | private function setFocusOnClick(event:MouseEvent):void { |
---|
10 | setFocus(); |
---|
11 | } |
---|
12 | ]]> |
---|
13 | </mx:Script> |
---|
14 | |
---|
15 | <mx:XML id="cmdComponent"/> |
---|
16 | <comp:CMDComponentXMLBrowser id="xmlBrowse" |
---|
17 | xml="{cmdComponent}" |
---|
18 | width="100%" |
---|
19 | height="100%" |
---|
20 | click="setFocusOnClick(event);" |
---|
21 | /> |
---|
22 | </mx:Canvas> |
---|
Note: See
TracBrowser
for help on using the repository browser.