code: function(data) {
              if (data.row.section === 'body' && data.column.dataKey === "expenses") {
                  if (data.cell.raw > 750) {
                      doc.setTextColor(231, 76, 60); // Red
                      doc.setFontStyle('bold');
                  }
              }
          }
docs: Use for changing styles with jspdf functions or customize the positioning of cells or cell text just before they are drawn to the page.