pExt.ux.PortalColumn = pExt.extend(pExt.Container, {
    layout: 'anchor',
    autoEl: 'div',
    defaultType: 'portlet',
    cls:'x-portal-column',
	headOffset:0,
	tailOffset:0,

	renumberItemModuleIds: function() {
		var prefix = 'm' + this.cellId.substring(1);
		for (var i=this.headOffset; i<this.items.length-this.tailOffset; i++) {
			var portletPlaceholderId = this.items.get(i).initialConfig.uid;
			this.items.get(i).moduleId = prefix + '_' + (i-this.headOffset);
			updatePortletDivId(portletPlaceholderId, this.items.get(i).moduleId);
		}
	}
});
pExt.reg('portalcolumn', pExt.ux.PortalColumn);
