Posted 20 June 2022, 10:27 pm EST
Hi Team,I want to show subtotal only for certain fields on wijmo-Grid
, Currently its showing subtotal for all fields.
How can I achieve this. Please help.
Thank you.
Forums Home / Wijmo / General Discussion Topics
Posted by: riya.katawate16 on 20 June 2022, 10:27 pm EST
Posted 20 June 2022, 10:27 pm EST
Hi Team,Replied 21 June 2022, 3:39 pm EST
Hello,
onFormatItem(s, e) {
if (
e.panel === s.cells &&
s.rows[e.row] instanceof wjcGrid.GroupRow &&
s.columns[e.col].binding === 'amount' &&
s.rows[e.row].dataItem.name == 'Germany'
) {
e.cell.innerHTML = '';
}
}