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
165
How to set grid column drop down list values
posted

Hello

I was wondering if somone could help me with a problem i'm having.

I have a grid with 4 or 5 columns and 1 to many rows. In the first 3 columns i have drop down lists. After a user has made selections in the drop down lists for the rows of the grid I would like them to be able to save their selections and reload them again later.

I have currently been saving out their selections but am having problems reloading them. I can't seem to find a way to programatically select the items in the drop down lists. I can put the text into the columns of the grids easy enough but the drop downs have display and value members and i need to access the value member as well.

Is this possible to programmatically simulate selecting an item in the gird's drop down lists? 

Thank you for any assistance.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    What's your data source? How are you saving and loading the data? 

    It seems to me that all you need to do is store and restore the Value of the cell. Setting the Value on the cell wil automatically display the appropriate DisplayText as determined by the ValueList on that cell. So you don't have to do anything to the ValueList. 

    I get the feeling that I am missing something about your question. 

     

     

Children