Closed paulroth3d closed 1 year ago
data=[{ name:”John”, occupation: “sign twirler”, age:30 }]; utils.table(data) .formatColumn({ occupation: ({ value, record }) => value === “sign twirler” ? “background-color: light green” : ‘’ }) .render();
deployed in 1.23 : TableGenerator.styleColumn
data=[{ name:”John”, occupation: “sign twirler”, age:30 }]; utils.table(data) .formatColumn({ occupation: ({ value, record }) => value === “sign twirler” ? “background-color: light green” : ‘’ }) .render();