ListingGridHandler = Class.create(GridHandler, { //---------------------------------- productIdCellIndex: 1, productTitleCellIndex: 2, //---------------------------------- initialize: function($super,gridId,listingId) { this.listingId = listingId; $super(gridId); }, //---------------------------------- getProductIdByRowId : function(rowId) { return this.getCellContent(rowId,this.productIdCellIndex); }, //---------------------------------- getSelectedItemsParts : function() { var selectedProductsArray = this.getSelectedProductsArray(); if (this.getSelectedProductsString() == '' || selectedProductsArray.length == 0) { return []; } var maxProductsInPart = this.getMaxProductsInPart(); var result = []; for (var i=0;i