as source data could be any type, we can keep it in originalData. but provide an api for user to define a format function for rendering purpose. the format function could be defined in columnDefs and return a string. it's more flexible than <div>{String(cellText)}</div>
as source data could be any type, we can keep it in
originalData
. but provide an api for user to define a format function for rendering purpose. the format function could be defined incolumnDefs
and return a string. it's more flexible than<div>{String(cellText)}</div>