/sage/demos/outlook/email/inbox.sdf
 1 SplitPane {
 2   name: "inbox_viewer"
 3   bgColor: "textHighlight"
 4   splitOrientation: "top_to_bottom"
 5   splitProportions { 0.4 }
 6   regions {
 7     {
 8       viewer {
 9         Table {
10           name: "email_inbox_table"
11           draggingAllowed: "true"
12           deletingAllowed: "true"
13           dataURL: "inbox_data.sdf"
14           columnReorderingAllowed: "true"
15           supportedActions {
16             "pim_mail_reply"
17             "pim_mail_replytoall"
18             "pim_delete"
19             "pim_moveto"
20             "pim_print"
21             "pim_mail_forward"
22             "pim_mail_create_rule"
23           }
24           selectionMode: "multiple"
25           exportDataFlavors { "text"; "email" }
26           columns {
27             {width: "12!"; headerIcon: "resource:Sage.icon.exclamation" }
28             {width: "18!"; headerIcon: "resource:Sage.icon.pageTransparent" }
29             {width: "16!"; headerIcon: "resource:Sage.icon.paperclip" }
30             {title: "From"; width: 100 }
31             {title: "Subject"; width: 400 }
32             {
33               title: "Recieved"
34               valueType: "date_time_type"
35               valueContext: "MMM dd, yyyy HH:mm a"
36             }
37             {title: "Size"; width: "60!" }
38             {
39               width: "20!"
40               overrideSelectionBackground: "true"
41               moveable: "false"
42               verticalAlign: "center"
43               bgColor: "control+10|control"
44               headerIcon: "resource:icon_followup"
45               icon: "resource:icon_followup"
46             }
47           }
48           gridLineType: "horizontal_lines"
49           extendBackgroundRendering: "false"
50           previewData {
51             contentPadding { left: 60; right: 30 }
52             fgColor: "#0000FF"
53             enabled: "true"
54           }
55         } [ onChange="showMailMessage(3,4)" ]
56       }
57     }
58     viewer { name: "email.inbox.reader" }
59   }
60 }
61
62
63
64