Hi Everyone
I have Ultragrid and i have column called text where there is some text and other columns like font-family,style,size,weight,color,backcolor,border and bordercolor. If i change some values in this it should get reflected in the text column according to the chosen values from all these.
I tried to do it in but i couldn get it i dont know where i have gone wrong.
Is there any way to do it.
Colud someone help me please
Thanks in advance
Ferdin
Hi Boris,
I cannot upgrade to the newest version of Infragistics.
I would appreciate if you can provide some sample code for performing resize manually.
Thanks,
Nitin Jain
Hi Nitin,
If you do not have the 'AutoResizeColumnWidthOptions' on the 'Override' object then I think that you should get the newest version of NetAdvantage.
Another way would be to calculate manually the width of the columns - you should take the font size into account.
I apologies, I cannot provide a sample as Infragistics is on client machine and I do not have permissions to upload any document from there.
1. If I use the (false,VisibleRows,true), some data is chopped off that would be annoying for user.
2. If I use (false,VisibleRows,false), and there is no data in the grid then the display is very weird, it resize all the columns to almost 0 size.
3. If I use (true,VisibleRows,true/false), the hidden columns don't appear again.
Hi,
So, isn't it working with (false, VisibleRows, false)? Could you please post a sample project which reproduces it, I am not sure how it behaves in v8.3 in your scenario. There should be a way to get the desired behavior even in v8.3, I am determined to find it, just need a project to work on.
I think I have a different ver. of Infragistics (//Infragistics ver. 8.3) as I have only 2 overloads for this function:
PerformAutoResizeColumns(bool sizeHiddenColumns,PerformAutoSizeType performAutoSizeType)
PerformAutoResizeColumns(bool sizeHiddenColumns,PerformAutoSizeType performAutoSizeType,bool includeHeader)