My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="utf-8"?>
<OpportunitiesListViewBase
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="com.tearaway_tea.opportunities.views.*">

<mx:Array
id="commandButtons">
<mx:Button
label="New"
click="onNewClick()" />
<mx:Button
label="Edit"
enabled="{dataGrid.selectedItem != null}"
click="onEditClick()" />
</mx:Array>

<mx:DataGrid
id="dataGrid"
width="100%"
height="100%"
doubleClickEnabled="true"
dataProvider="{dataProvider}"
doubleClick="onGridDoubleClick()">
<mx:columns>
<mx:DataGridColumn
width="30"
headerText="ID"
dataField="id" />
<mx:DataGridColumn
headerText="Name"
dataField="name" />
<mx:DataGridColumn
width="120"
headerText="Start Date"
dataField="startDate"
labelFunction="{dateLabelFunction}" />
<mx:DataGridColumn
width="120"
headerText="End Date"
dataField="endDate"
labelFunction="{dateLabelFunction}" />
<mx:DataGridColumn
width="120"
headerText="Last Update Date"
dataField="lastUpdate"
labelFunction="{dateLabelFunction}" />
</mx:columns>
</mx:DataGrid>
</OpportunitiesListViewBase>

Change log

r5 by tearaway.tea on Mar 25, 2012   Diff
[No log message]
Go to: 

Older revisions

All revisions of this file

File info

Size: 1155 bytes, 49 lines
Powered by Google Project Hosting