Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
How to update existing Item in UltraListView?
posted

I cannot change the Value property of an existing Item in the Items collection.

I have tried ultraListView1.Items[idx].Value = changedValueObject;

but the properties of the Value object in the ultraListView1 do not changed.

I tried using ultraListView1.Items.GetItem(someKeyValue)

but the compiler complains that the someKeyValue should be a int. The docs say it should be a string and return IKeyedSubObject; Intellisense says it should be an integer and return an Object.

What am I missing here? v2008.2.

Lars

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    1984 said:
    but the properties of the Value object in the ultraListView1 do not changed.

    I am having trouble understanding this. After assigning a new value to the UltraListViewItem.Value property, the property will then return that new value. It would be helpful for us to know how you made the determination that the value was not changed.

Children
No Data