https://i.stack.imgur.com/JIGKp.pngi need to find the amount and subtotal.
我需要计算(qty*price)两列的值,并将结果存储到ng2-smart-table的另一列(Amount)中
发布于 2020-12-22 06:38:17
这是一种非常流畅的方法来选择这个问题。
Total:{
title: 'Total',
valuePrepareFunction :(cell, row) =>{
return row.quantity * row.productPrice;
}
}https://stackoverflow.com/questions/49715185
复制相似问题