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
1380
Ultragrid refresh
posted

Hello

When ultragrid datasource refreshs the valuelist items which are selected before refreshing is returning to default state.as,not selected any.So,every time when datasource is refreshing you have to select every valuelist items again.Please help/

Thanks in advance.

Parents
  • 71886
    Offline posted

    Hello Ilkin,

    What you could do is to keep the selected item's indices in some array and check those items later. How are you creating and assigning the ValueList? If you are doing it in the 'InitializeLayout' event of the 'WinGrid' control, it would change to a new instance every time and thus "forget" about the checked items. So you could create and assign the 'ValueList' in the 'Load' event of the Form for example.

Reply Children