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

**URL:** <https://forum.inductiveautomation.com/t/formatting-individual-cells-with-different-number-formats-in-a-table-component-in-perspective/75882>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting, python, ignition80\
**Created:** [July 4, 2023, 8:00am UTC](https://forum.inductiveautomation.com/t/formatting-individual-cells-with-different-number-formats-in-a-table-component-in-perspective/75882 "2023-07-04T08:00:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sabhareeswaran\_Ravi](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@Sabhareeswaran\_Ravi](https://forum.inductiveautomation.com/u/Sabhareeswaran_Ravi)\
**Post date:** [July 4, 2023, 8:00am UTC](https://forum.inductiveautomation.com/t/formatting-individual-cells-with-different-number-formats-in-a-table-component-in-perspective/75882/1 "2023-07-04T08:00:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 4, 2023, 12:58pm UTC](https://forum.inductiveautomation.com/t/formatting-individual-cells-with-different-number-formats-in-a-table-component-in-perspective/75882/2 "2023-07-04T12:58:55Z")

</div>

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