 
					
				
		
12-14-2015 01:25 PM
 
					
				
		
12-16-2015 03:08 AM

…
<div class="yui-u align-right">
     <span id="${el}-export-excel-button" class="yui-button yui-push-button exportToExcel-icon">
        <span class="first-child">
           <button type="button">${msg('button.exportToExcel')}</button>
        </span>
     </span>
</div>
…
…
.search .exportToExcel-icon span.first-child
{
   background: url(../images/exportToExcel-icon.png) no-repeat 12px 4px;
   padding-left: 24px;
}
…
12-16-2015 03:42 AM
 
					
				
		
12-16-2015 04:04 AM
12-16-2015 04:34 AM
this.widgets.exportExcelButton = Alfresco.util.createYUIButton(this, "export-excel-button", this.exportToEXCEL());
 
					
				
		
12-16-2015 06:14 AM
12-16-2015 07:21 AM
search.jssearch-min.js 
					
				
		
12-17-2015 03:53 AM
var options =
{
datatable: // your YUI datatable object
includeLastColumn: true/false
};
12-17-2015 04:30 AM
         // DataTable definition
         this.widgets.dataTable = new YAHOO.widget.DataTable(this.id + "-postlist", columnDefinitions, this.widgets.dataSource,
         {
            initialLoad: false,
            dynamicData: true,
            MSG_EMPTY: this._msg("message.loading")
         });
 
					
				
		
12-17-2015 08:30 AM
Alfresco.Search = function (htmlId) {
        Alfresco.Search.superclass.constructor.call(this, "Alfresco.Search", htmlId, ["button", "container", "datasource", "datatable", "paginator", "json"]);
        // Decoupled event listeners
        YAHOO.Bubbling.on("onSearch", this.onSearch, this);
        return this;
    };
    YAHOO.extend(Alfresco.Search, Alfresco.component.SearchBase,
        {
            /**
             * Object container for initialization options
             *
             * @property options
             * @type object
             */
            options: {
                datatable: new YAHOO.widget.DataTable(this.id + "-0", columnDefinitions, this.widgets.dataSource,
                    {
                        initialLoad: false,
                        dynamicData: true,
                        MSG_EMPTY: this._msg("message.loading")
                    }),
….
….
….
….
….
    options: {
 datatable:this.widgets.datatable,
includeLastColumn: true
}
 
					
				
				
			
		
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.