Mike,
I am using Infragistics version 2011 v2. I am facing a different issue in one of my screen ( in grid).
In that screen i have a tab control with many tabpages. Each tab page have one grid. The grid which placed in 3rd tab have totally 7 columns (2 hidden and 5 visible).
But while running screen, it show only one column (first column). I checked the below properties.
a) I checked the column's hidden property. It is showing "False" for all 5 columns (Except 2 hidden)
b) I checked the grid.activecolscrollregion.visibleheader. It shows only 1 column.
If i click the first column's header, all other columns get visible.
I attached the screen shots below :
At form load :
After header click :
Guide me to solve this problem.
Hello Sureshsimkumar,
If the columns are just partially visible, it means that they are not completelly drawn for some reason, so if the UltraGrid is in a Tab, you could try using ActiveTabChanging , or some event and verify if you are in the correct tab, and if so try to force the Display to refresh, something like the following:
ultraGrid1.Rows.Refresh(Infragistics.Win.UltraWinGrid.RefreshRow.RefreshDisplay);
There might be other reasons for such behavior, which depends on the current scenario that you are having in your application.
If you still need assistance with this behavior please feel free to ask.
Hai Danko,
Thanks for reply. As you mentioned in the post, I tried the Refresh() and Invalidate() methods. But it didnt solve my issue.
I tried to reproduce this error by generating seperate sample application. But in that application it is working correctly. So i still trying to reproduce in seperate sample application. After arriving it, i will submit to you.
If you have any ideas / solutions guide me.
Hello Suresh,
Please feel free to let me know if you are still experiencing this issue, or if you are having any other questions with this matter.
Hello Sureshimkumar,
It seems to me that the UltraGrid needs some time to repaints itself.
I am not sure exactly what is happening in your sample, but when the Contact Details tab gets activated you could manually try to Invalidate() your UltraGrid. In the ActiveTabChanged you could verify if this is the desired tab and after that try to Refresh() or Invalidate() methods on your UltraGrid.
If this doesn't work for you, could you please provide me small sample reproducing this behavior so I will be able to research for the best approach that will resolve the mentioned one.
If you have any other questions please feel free to ask.
Hai,
When i apply the Hidden property for all columns, the above mentioned problem solved. I know it was not the correct solution. If any have solution for my problem guide me