Sum of column values from the screen on console

PHOTO EMBED

Thu Mar 20 2025 09:52:44 GMT+0000 (Coordinated Universal Time)

Saved by @Harsh #javascript #string

[...document.querySelectorAll("#root > main > div > div:nth-child(2) > div:nth-child(2) > div.table-card > div > div.h-100 > div > div.p-datatable-wrapper > table > tbody > tr")].reduce((sum,row) => sum + (parseFloat(row.children[18]?.textContent.trim()) || 0), 0);
content_copyCOPY

Just copy the JS path of column, and instead of th pick the tr index, this way you can sum on console, in a line