lib/gridupdater.js
/**
 * @function deleteRows
 * @param {int} newNumRows New number of rows set
 * @param {int} origNumRows Number of rows before resize
 */
@function deleteRows
@param {int} newNumRows New number of rows set
@param {int} origNumRows Number of rows before resize
@function deleteRows @param { int } newNumRows New number of rows set @param { int } origNumRows Number of rows before resize
function deleteRows(newNumRows, origNumRows){
   for(var y=origNumRows; y>newNumRows; y--){
      $$('workLayout').removeView('workRow'+y);
   }
}
function deleteRows ( newNumRows , origNumRows ) { for ( var y = origNumRows ; y > newNumRows ; y -- ) { $$ ( 'workLayout' ) . removeView ( 'workRow' + y ) ; } }
@function deleteRows
 @param {int} newNumRows New number of rows set
 @param {int} origNumRows Number of rows before resize
@function deleteRows @param { int } newNumRows New number of rows set @param { int } origNumRows Number of rows before resize