Posted 10 February 2021, 10:09 am EST
is it posible to append value in getcelldata and setcell data for favorite icon.
rest all pdf and excel and html we have added getcell and setcell.
when i try to getCell it is displaying NAN.
instead of this
if (col === “fieldFavorite”) {
const item = s.rows[e.row].dataItem;
item.Favorite = !item.Favorite;
used this
if (col === “fieldFavorite”) {
let valuefavicon = s.getCellData(e.row, e.col, false);
s.setCellData(e.row, “excel”, !valuefavicon );