﻿// ----------------------------------------------
// File:		ProductGridVO.js
// Author:		Nathan Derksen
// Description:	Value Object - stores model information about one particular set of product data
// Example:
// var viewAllProductsGrid = new ProductGridVO();
// viewAllProductsGrid.numRows = 3;
// prodGrid.setProducts(resultArray);
// prodGrid.drawGrid();
// ----------------------------------------------

function ProductGridVO()
{
	this.currentPage = 0;
	this.numResults = 0;
	this.numPages = 0;
	this.numRows = 1; // A value of -1 means unlimited
	this.gridType = "uniform";
	this.gridName = "viewPaged";
	this.gridOuterContainer = null;
	this.gridHolder = null;
	this.products = new Array();
	this.pageSize = 6;
}
