Hi i try to create a listview but i have some problems.
foreach (ICity c in cities)
{
UltraListViewItem item = this.list_LocationAvalible.Items.Add(((IDomainObject)c).Id.DatabaseId.ToString(), c.Name);
item.SubItems["Country"].Value = c.Country;
}
but the main column size it' s wrong,how can i fix that (attached picture)?
How can i insert subitems? it's not correct this method?why?
Many thanks
hi,
Is View property is 'Details'? if so Set the property 'AutoFitColumns' under ViewSettingDeails to ResizeAllColumns and check.