Yes!!! I use code in ZimbraWebmail....
By overloading ZmListView (Remove some unnecessary code for me)
But not override CreateHTMLHeader function
as below
Code:
function fgMasterFileListView(parent, className, posStyle, view, type, headerList, dropTgt) {
if (arguments.length == 0) return;
if (!headerList)
headerList = this._getHeaderList();
//parent, className, posStyle, view, type, headerList, dropTgt
className = className ? className : "DwtListView"; //"fgMasterFileListView";
fgListView.call(this, parent, className, posStyle, fgController.MASTERFILE_VIEW, type, headerList);
this._listChangeListener = new AjxListener(this, this._changeListener);
}
fgMasterFileListView.prototype._getHeaderList =
function() {
var headerList = new Array();
//id, label, iconInfo, width, sortable, resizeable, visible, name
headerList.push(new DwtListHeaderItem('id--c', fgMsg[fgMasterFile.A_IdentityID], null, fgMasterFile.DEFAULTWIDTH[fgMasterFile.A_IdentityID], fgMasterFile.A_Code, true, true, fgMasterFile.A_IdentityID));
headerList.push(new DwtListHeaderItem('co--c', fgMsg[fgMasterFile.A_Code], null, fgMasterFile.DEFAULTWIDTH[fgMasterFile.A_Code], fgMasterFile.A_Code, true, true, fgMasterFile.A_Code));
headerList.push(new DwtListHeaderItem('na--c', fgMsg[fgMasterFile.A_MyName], null, fgMasterFile.DEFAULTWIDTH[fgMasterFile.A_MyName], fgMasterFile.A_MyName, true, true, fgMasterFile.A_MyName));
return headerList;
}