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/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
String valueType = handle.getDataType( );
		if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_BOOLEAN );
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_DATE_TIME );
		else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_DECIMAL );
		else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_FLOAT );
		else if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_STRING );
		else
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_ANY );
		ArrayList values = new ArrayList( );
		Iterator selectionIter = handle.choiceIterator( );
		while ( selectionIter.hasNext( ) )
		{
			SelectionChoiceHandle selection = (SelectionChoiceHandle) selectionIter
					.next( );
			ParameterSelectionChoice selectionChoice = new ParameterSelectionChoice(
					this.handle );
			selectionChoice.setLabel( selection.getLabelKey( ), selection
					.getLabel( ) );
			selectionChoice.setValue( selection.getValue( ), scalarParameter
					.getDataType( ) );
			values.add( selectionChoice );
		}
		scalarParameter.setSelectionList( values );
		scalarParameter.setAllowNewValues( !handle.isMustMatch( ) );
		scalarParameter.setFixedOrder( handle.isFixedOrder( ) );