Get cell value in report

Hello All,
Can Anyone pls tell me that how to get a particular cell value in script reports with js …

here is sample code for your kind reference,you see the name of all selected rows retrieved in the below code, based on this you can filter and map data to retrieve cell value as needed.

onload: function(report) {
        report.page.add_inner_button(__("Update Min/Max"), function() {
            let data = report.data;         
            const rows = report.datatable.datamanager._filteredRows;            
            if (rows) data = data.filter((d,i) => i in rows);
            const names = data.map(d => d.name);
1 Like

Thankyou so much for the help …