Hi allI am using Infragistics 9.2 and I am trying to build upa UltraListView without Header of MainColumn.The UltraListView has only the MainColumn.Does anybody knows how to hide this Header ?Thanks & best regardsFrank Uray
You can't hide the MainColumn, although you can make it behave like any other sub-item column by disallowing editing for that column. You might also want to set UltraListView.ViewSettingsDetails.FullRowSelect to true so that the whole "row" depicts selection, and not just the text in the main column.
Hi BrianThanks for your answer.What do you think, is it possible to set the hight of the column header ?If yes, I could set this hight to 0 ... :-)I dont really know what you mean with:"disallowing editing" ??Thanks and best regardsFrank Uray
Apparently the word "header" went completely unnoticed to me when I read that first post, terribly sorry about that.
No, hiding the headers in Details view is currently not supported. However, if all you have is the one column, you might want to use the 'List' setting for the View property instead; headers are not displayed with that view.
The reason I mentioned disallowing editing is that the only true distinction between the MainColumn and the SubItemColumns is that you can edit the value for the main column (since that column displays the item's value) but not the sub-item values. It would seem that if you disabled editing for the main column (see UltraListView.ItemSettings.AllowEdit), there would not really be any difference between that column and the sub-item columns, so you could use that main column to show the first column, and the SubItemColumns to show the second and subsequent columns.
Ugh, sorry again, I always seem to leave out the useful bits of information...yes, set the UltraListView.ViewSettingsList.MultiColumn property to false. This tells the control to lay the items out in one single column, from top to bottom, making it look something like a ListBox control.
Hi BrianThanks a lot for your answer.I have tried it as 'List'. What do you think,is it possible as 'List' to have all the items from top to downwith a vertical scrollbar instead of having a horizontal scrollbar ?Thanks and best regardsFrank Uray