View Single Post
  #4 (permalink)  
Old 10-26-2005, 10:48 AM
pshah pshah is offline
Zimbra Employee
 
Posts: 269
Default

Quote:
Originally Posted by sirick
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;
}[/CODE]
ok, what are the values of the CONST's you are using in setting the widths of the columns headers? You have to make sure the width of the table/listview these column headers are sitting in is either not defined (so the browser can calc. the full width automatically) or if defined, adds up to the sum of all the widths of these columns.

It basically looks like the width of your listview has a fixed width and the sum of the width of the columns are more than can fit within the table causing them to overlap each other. Make sense?

Of course i could be wrong here, but thats what it looks like from the screenshot and code you provided.
Reply With Quote