Bug 191019 Add a second measure to xtab detail area affacts Totals.[1102]
Description: Add a second measure to xtab detail area affacts Totals. Build number:2.2.0.v20070605 Steps to reproduce: 1. Open attached report. 2. Add max measure to detail area and observe Layout change. 3. In Row area, remove max grand total and observe Layout change. Expected result: If adding measure to detail area will afface grand total, it should affact both column grand total and row grand total. Otherwise, both grand totals should not be affacted. Actual result: In step2, max grand total add to row area but not to column area. In step3, max grand total appears in column grand total instead of remove max grand total in row area. Error log:N/A
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/dialogs/AggregationDialog.java
Composite dialogArea = (Composite) super.createDialogArea( parent );
		Composite content = new Composite( dialogArea, SWT.NONE );
		content.setLayoutData( new GridData( GridData.FILL_BOTH ) );
		GridLayout layout = new GridLayout( );
		content.setLayout( layout );
		createSubTotalArea( content );
		createGrandTotalArea( content );
		init( );
		return dialogArea;
	}
	private void init( )
	{
		if ( subList != null )
		{
			subTableViewer.setInput( subList );
			for ( int i = 0; i < subTableViewer.getTable( ).getItemCount( ); i++ )
			{
				TableItem item = subTableViewer.getTable( ).getItem( i );
				if ( item.getData( ) != null
						&& item.getData( ) instanceof SubTotalInfo )
				{
					item.setChecked( ( (SubTotalInfo) item.getData( ) ).isAggregationOn( ) );
				}
			}
		}
		if ( grandList != null )
		{
			grandTableViewer.setInput( grandList );
			for ( int i = 0; i < grandTableViewer.getTable( ).getItemCount( ); i++ )
			{