// Initialize aggregate $montos->RowType = EW_ROWTYPE_AGGREGATEINIT; $montos->ResetAttrs(); $montos_list->RenderRow(); while ($montos_list->RecCnt < $montos_list->StopRec) { $montos_list->RecCnt++; if (intval($montos_list->RecCnt) >= intval($montos_list->StartRec)) { $montos_list->RowCnt++; // Set up key count $montos_list->KeyCount = $montos_list->RowIndex; // Init row class and style $montos->ResetAttrs(); $montos->CssClass = ""; if ($montos->CurrentAction == "gridadd") { } else { $montos_list->LoadRowValues($montos_list->Recordset); // Load row values } $montos->RowType = EW_ROWTYPE_VIEW; // Render view // Set up row id / data-rowindex $montos->RowAttrs = array_merge($montos->RowAttrs, array('data-rowindex' => $montos_list->RowCnt, 'id' => 'r' . $montos_list->RowCnt . '_montos', 'data-rowtype' => $montos->RowType)); // Render row $montos_list->RenderRow(); // Render list options $montos_list->RenderListOptions(); ?> <tr<?php echo $montos->RowAttributes(); ?> >