Formatting individual cells with different number formats in a table component in perspective

I have a table component in my application where each cell corresponds to a specific Tag value from different variables. Each Tag value can have a different number of digits, and I would like to format the numbers individually based on their magnitude. For example, I want to display 0.123135153 as 0.123 and 1231124921 as 1.23*10^9.

The issue is that in the table component, I can only control the number format per column, but each value in a column can have a different number of digits.

Is there a way to format individual cells with different number formats in a table component? Any suggestions or alternative approaches would be greatly appreciated.

Supply per-row styling in props.data using a transform.