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
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.
I am calling it in
InitializeRow(
object sender, InitializeRowEventArgs e) even.
I tried e.Row.PerformAutoSize(); (I didn't see PerformResize).
But it didn't change any.
srajeshreddy said:As I said it earlier that I dont see PerformResize method I am seeing only the below method. e.Row.PerformAutoSize();
e.Row.PerformAutoSize();
That's the correct method, sorry I got the name wrong.
You don't have to do anything to the form to get it to use the service release, but you might just want to look at the project references and look at the full version number on the assemblies to make sure the project is using the right ones.
If you have the service release and it's still not working, then there must be some other factor in play here. If that's the case, we will need a sample demonstrating the problem so we can check it out.
I am using v.9.2. and it should be latest one.
As I said it earlier that I dont see PerformResize method I am seeing only the below method.
We have designed the forms 2 years back and placed the grid then.
We have got the updated infragistics services in last sept that is NetAdvantage for Win Client 2009 Vol. 2.
Should I replace the grid now on the form to behave as expected?
Calling PerformResize should definiately work. If that's not working, it's probably a bug. What version of the controls are you using? I know there were some sizing issues with formatted text, but I am pretty sure they were fixed a while ago.
If you don't already have it, get the latest service release and see if that helps.
How to get the latest service release - Infragistics Community