Bug 147676 [regression]Visibility set in the first col will affect the second col
Description: Visibility set in the first col will affect the second col Steps to reproduce: 1. Insert a grid(3*3), insert contents to each cell. 2.Set the first col to hide all in visibility and preview Expected result: Only the first col is hidden. Actual result: The second col is hidden, too. If you set the second col in step2, the third col will disappear.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
erateBy( );
		String type = null;
		genBy instanceof LabelItemDesign)
		{
			type = "LABEL";
		}
		else genBy instanceof TemplateDesign)
		{
			type = "TEMPLATE";
		}
		
		else if( genBy instanceof ExtendedItemDesign )
		{
			type = "EXTENDED" ;
		}
		else  genBy instanceof TableItemDesign )
		{
			type = "TABLE";
		}
		else genBy instanceof ListItemDesign)
		{
			type = "LIST";
		}
		type != null)
		{
			 I
			id = content.getInstanceID( );
			long componentID = ( iid != null ) ? iid.getComponentID( ) : 0;
			setActiveIDTypeIID( content.getB( ), type, iid, componentID );
		}
	}
	private void setActiveIDTypeIID( String b, String type,
			id, long elementId )
	{
		exportElementID( b, type, elementId );
		 type
		ttribute( "element_type", type );
		 iid != null )
		{
			ttribute( "iid", iid.toString( ) );
		}
	}
	
	**
	 * Resize chart template and table template element.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private void resizeTemplateElement( IContent content )
	{
			Object genBy = content.getGenerateBy( );
			if( genBy instanceof TemplateDesign )
			{
				TemplateDesign template = (TemplateDesign) genBy;
				
				String allowedType = template.getAllowedType( );
				 "ExtendedItem".equals(allowedType ) )
				{
					 Resize chart template element
					IStyle style = content.getStyle( );
					style.setProperty( IStyle.STYLE_CAN_SHRINK, IStyle.FALSE_VALUE );
					content.setW( new DimensionType( 3, DimensionType.UNITS_IN ) );
					content.setHeight( new DimensionType( 3, DimensionType.UNITS_IN ) );
				}
				else  "Table".equals(allowedType) )
				{
					 Resize table template element
					IStyle style = content.getStyle( );
					style.setProperty( IStyle.STYLE_CAN_SHRINK, IStyle.FALSE_VALUE );
					content.setW( new DimensionType( 5, DimensionType.UNITS_IN ) );
				}
		}
	}
	
	**
	 *  judge the content is belong table template element or not.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private boolean isTalbeT