Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
935
Fitting text in a cell
posted

Hi

I am using the following way to set cell value

e.Row.Cells[

"column"].Value = formattedText;

Please see the attachment.Text is cutting buttom of the portion .

I dont know how many lines user will add so i can't increase row size .

I am using AutoFit propery of grid.

Please advise how can I solve this issue.

Thanks

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    What event are you using to set the Value of the cell? I don't think the grid automatically resizes the row when the value changes. You probably just have to call PerformResize on the row in code after you set the Value.

Children