Skip to main content
16-Pearl
April 2, 2025
Solved

How to pass dynamic row height for each row in grid widget.

  • April 2, 2025
  • 3 replies
  • 1178 views

While Passing data from datatable to grid widget, each cell value differs in its string count. In that case, to display the entire value in each cell, i can set constant column width but i expect the row height to be dynamic based on the no of strings present in each cell.(motto is to show the complete data in the cell). How it can be acheived.

It leads to different row height for each rows. 

Best answer by TonyZhang

Hi @AP_10343008 

 

Which version of ThingWorx are you using?

I think Grid achieves this by default, no additional configuration is required.

If a cell has a long string value, it will automatically adjust the height to display the entire contents.

 

3 replies

16-Pearl
April 2, 2025

Hi, @AP_10343008. Please review the article below and share your thoughts with us.

https://www.ptc.com/en/support/article/CS391327

TonyZhang16-PearlAnswer
16-Pearl
April 9, 2025

Hi @AP_10343008 

 

Which version of ThingWorx are you using?

I think Grid achieves this by default, no additional configuration is required.

If a cell has a long string value, it will automatically adjust the height to display the entire contents.

 

16-Pearl
April 16, 2025

In layout section, the mashup, containers, grid widget - positioning set as Static.  I think thats why the row height is not dynamically changing.

16-Pearl
April 23, 2025

Hi @AP_10343008 

 

In ThingWorx 9.6, I changed the mashup containers, grid widget's positioning to static, but the row height is still changing dynamically according to its value.

 

However, if you think your issue is resolved, please mark an appropriate response as the accepted solution for the benefit of other Community Members who may have the same question.


Regards,

16-Pearl
April 11, 2025

Hi @AP_10343008 ,

It appears that a response to this post answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,