| demos\outlook\notes\notes_content.sdf |
1 WidgetPane { 2 attributes { 3 {name: "toolbar_url"; value: "notes_toolbar.sdf" } 4 {name: "action_menu_url"; value: "notes_actions.sdf" } 5 } 6 scriptURL: "notes.js" 7 widget { 8 9 /** 10 * Define a table to hold the notes data 11 * We will manually populate the table on the onLoad event. 12 * This event fires the first time the viewer is loaded 13 * into a target region 14 */ 15 Table { 16 name: "notes_table" 17 selectionMode: "multiple" 18 columns { 19 {width: "2ch!"; headerIcon: "resource:Sage.icon.pageTransparent"; headerHorizontalAlign: center} 20 {title: "Subject"; width: "20ch" } 21 { 22 title: "Created" 23 valueType: "date_time_type" 24 valueContext: "MMM dd, yyyy HH:mm a" 25 } 26 {title: "Categories" } 27 } 28 gridLineType: "horizontal_lines" 29 extendBackgroundRendering: "false" 30 previewData { 31 contentPadding { left: "4ch"; right: "30" } 32 fgColor: "#0000FF" 33 enabled: "true" 34 } 35 } [ onAction="notes_table_onAction()" ] 36 } 37 } [ onLoad="notes_init()" ] 38 39 40 41