paulroth3d / jupyter-ijavascript-utils

Utility library for working with iJavaScript - a Jupyter Kernel
1 stars 0 forks source link

Table.StyleColumn() #28

Closed paulroth3d closed 1 year ago

paulroth3d commented 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();

paulroth3d commented 1 year ago

deployed in 1.23 : TableGenerator.styleColumn