Hey!
We truly hope that our free tool comes in handy for your business, especially these days. Follow our news, stay safe & pivot on!

How to get the data type of specific cell using onCustomizeCell() event

Answered

I want to get the cell data type and if the data type is date then I want to format the date from UTC to current time zone.

1 answer

WebDataRocks Team WebDataRocks May 29, 2020

Hello,
 
Thank you for reaching out to us.
 
Our team would like to explain that the data type can not be retrieved using the customizeCell API call.
 
Even so, it is possible to decide whether the formatting is required based on the uniqueName of the hierarchy.

if (data.hierarchy && data.hierarchy.uniqueName == "Appropriate uniqueName")
  //apply formatting

 
We hope it helps.
Do not hesitate to contact us in case additional assistance is needed.
 
Kind regards,
WebDataRocks Team

Please login or Register to Submit Answer