Code: Select all
public float getValorneto() {
float valor_neto = 0.0f;
for (Detallepre d : tbldetallepresupuesto) {
valor_neto += (d.getRedimiento() * d.getPrecioUnitario());
}
return valor_neto;
}
I can only add up the total value but entire table unfiltered there any way
and filtered through the table to perform the calculations.
Thank You.