Bug 213965 Can only select the first four rows in the Data Preview table in chart builder.
description: Can only select the first four rows in the Data Preview table in chart builder. build version: 2.2.2 v20071228-1951 steps to reproduce: 1. Under preference->Report Design->Chart, set the Max row number of Data Preview larger than 4. 2. New a report. 3. New a datasource with sample DB and new a dataset with table CUSTOMERS. 4. Insert a chart to the report, bind the dataset, define customername as category and define customernumber as value series. On Date Preview table, try to select the rows at the bottom. Expected reslut: Rows can be selected and highlighted. Actual result: Rows can not be selected and rows at the top are highlighted.
chart/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/swt/CustomPreviewTable.java
/**
	 * INT HOLDING THE VERTICAL SCROLL AMOUNT...ITS VALUE REPRESENTS HOW MANY
	 * ROWS TO THE BOTTOM THE USER HAS SCROLLED...I.E. HOW MANY ROWS ARE HIDDEN
	 * TO THE TOP OF THE TABLE
	 */
	transient int iVScroll = 0;
	/**
	 * INT HOLDING THE LAST HORIZONTAL SCROLL POSITION...USED TO PREVENT USERS
	 * SCROLLING OFF THE LEFT OR RIGHT EDGES OF THE TABLE
	 */
	transient int iLastProcessedHorizontalScrollPosition = 0;
	/**
	 * INT HOLDING THE LAST VERTICAL SCROLL POSITION...USED TO PREVENT USERS
	 * SCROLLING OFF THE TOP OR BOTTOM EDGES OF THE TABLE
	 */
	transient int iLastProcessedVerticalScrollPosition = 0;
	/**
	 * INT HOLDING THE CURRENT SELECTED OR ACTIVE COLUMN...-1 INDICATES NO
	 * COLUMN IS SELECTED
	 */
	transient int iColumnIndex = -1;
	/**
	 * BOOLEAN INDICATING A DRAG OPERATION IS IN PROGRESS...USED TO DETERMINE IF
	 * CELLS ARE TO BE REDRAWN
	 */
	transient boolean bDragging = false;
	
	private transient int iResizingColumnIndex = -1;
	
	private transient int iDragStartXLocation = -1;