Update row height

Hi,


I'm using syncfusion ejs-grid in vuejs and have a problem with the row height. I have two frozen columns (left, right) and a usual content. So, in HTML Dom terms, I have three tables (as it is implemented by you).

However, the text inside in cells within the grid-content can be expanded and collapsed by the user. If the user expands or collapse a cell's text, then row height of the grid-content adjusts correctly, but the height of the row of the frozen tables do not adjust.

I figured out that they do if I resize the columns manually. However, I could not find out which method is used by the resizeModule to adjust the row heights. I tried

  • resizeModule.updateResizeEleHeight
  • resizeModule.refresh
  • resizeMOdule.resizeEnd
  • resizeModule.refreshHeight
  • notify("freezeRender", { case: "textwrap"})
  • render
  • gridRender

but nothing seems to work.
grid.refresh is not working also, nor grid.refreshColumns. When using grid.refresh, then the expanded text is collapsed again.

I appreciate your help :)


Edit:
I use 
grid.ej2Instances.notify("freezerender", { case: "refreshHeight" });
now and it works if I expand the text inside a row, so the frozen rows are increasing their heights. But it does not reduce the height when I collapse the text....



1 Reply

JC Joseph Christ Nithin Issack Syncfusion Team August 27, 2021 05:32 PM UTC

Hi Dave, 

  Greetings from Syncfusion support. 

  Before we proceed to the solution we would you to provide the following  details so that we could be able to provide the perfect solution ASAP. 

  • In your requirement you have mentioned expanding and collapsing of the cell’s text are you referring to the wrapping of the text when you are resizing the column.
  • Share a screenshot or video demonstration of the mentioned issue for our better understanding of the issue.
  • Exact replication procedure of the issue.
  • Complete grid rendering code.
  • We have prepared a sample based on your requirement kindly reproduce the issue in that sample.
 

Regards, 
Joseph I. 



Loader.
Up arrow icon