| /sage/demos/outlook/contacts/contacts_content.sdf |
1 WidgetPane { 2 attributes { 3 {name: "toolbar_url"; value: "contacts_toolbar.sdf" } 4 {name: "action_menu_url"; value: "contacts_actions.sdf" } 5 } 6 scriptURL: "contacts.js" [ language="javascript" ] 7 widget { 8 TreeTable { 9 name: "contacts_table" 10 quickFindSupport: "search_bar" 11 supportedActions { "pim_delete"; "pim_print"; "pim_mail_forward" } 12 autoResizeMode: "none" 13 selectionMode: "multiple" 14 columnSpanningAllowed: "true" 15 columns { 16 {width: "22!"; headerIcon: "resource:Sage.icon.pageTransparent" } 17 {width: "16!"; headerIcon: "resource:Sage.icon.paperclip" } 18 {width: "18!"; headerIcon: "resource:icon_followup" } 19 {title: "Full Name"; width: "15ch"; editable: "true" } 20 {title: "Job Title"; width: "10ch"; editable: "true" } 21 {title: "Company"; width: "10ch"; editable: "true" } 22 {title: "File As"; width: "15ch"; editable: "true" } 23 {title: "Department"; width: "10ch"; editable: "true" } 24 {title: "Business Phone"; width: "10ch"; editable: "true" } 25 {title: "Business Fax"; width: "10ch"; editable: "true" } 26 {title: "Home Phone"; width: "10ch"; editable: "true" } 27 {title: "Mobile Phone"; width: "10ch"; editable: "true" } 28 {title: "Categories"; width: "10ch" } 29 } 30 highlightSortColumn: "true" 31 scrollPane { 32 fixedColumnHeader { 33 Table { 34 borders: "none" 35 horizontalScrollbar: "hidden" 36 verticalScrollbar: "hidden" 37 columnSpanningAllowed: "true" 38 gridLineType: "none" 39 autoSizeRowsToFit: "true" 40 inheritParentTableColumns: "true" 41 inheritParentTableStyle: "false" 42 showStandardColumnHeader: "false" 43 focusPainted: "true" 44 dataURL:<< 45 |||Click here to add a new Contact 46 {}[selectable=false]^{ value:<<EOF Label { horizontalAlign: full; bgColor: "control+5|control-10"; bounds { height: 3}; }EOF; valueType: widget_type; columnSpan: -1; } 47 >> [ inline="true", riSeparator="^" ] 48 } 49 } 50 } 51 dataURL:<< 52 1^Company: (none) (3 items){fgColor: textHighlight; columnSpan: -1;} 53 2^{icon: "resource:icon_pim_contacts"}|||John Doe|Programmer||Doe, John|(858) 555-1212|(858) 555-1212 54 2^{icon: "resource:icon_pim_contacts"}|||Jane Doe|Programmer||Doe, Jane|(858) 555-1212|(858) 555-1212 55 2^{icon: "resource:icon_pim_contacts"}|||Baby Doe|Programmer||Doe, Baby|(858) 555-1212|(858) 555-1212 56 1^Company: SparseWare (1 item){fgColor: textHighlight; columnSpan: -1} 57 2^{icon: "resource:icon_pim_contacts"}|||Don DeCoteau|Programmer||DeCoteau, Don|(858) 555-6228|(619) 222-8884 58 >> [ inline="true", riSeparator="^" ] 59 expandAllAllowed: "true" 60 expandAll: "true" 61 indentBy: "-1" 62 } 63 } 64 } 65 66 67 68