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
310
Dropdown not showing correctly in wingrid
posted

I'm using Ultradropdown for the valuelist some columns of my UltraGrid.  I'm also setting the EditorControl to UltraComboEditor for some other columns.  The DisplayMember and ValueMember properties of the UltraDropDown and UltraComboEditor have been set correctly.  When the form loads, the grid shows the values in the ValueMember in these cells.  When I simply hover the mouse over these cells, the grid corrects itself to show the values of the DisplayMember.  The grid behaves correctly when I click on a dropdown.  It shows me the values in the displaymember.  Can someone tell me why the grid defaults to the values in the ValueMember instead of DisplayMember when it loads?

 

Parents
No Data
Reply
  • 469350
    Offline posted

     There are a number of possibilities. One is that something is wrong with the Data types. Perhaps the DataType of the ValueMember field in the list doesn't match the datatype of the grid column. 

        Another possibility is that there's some sort of timing problem in the order in which you are applying the data sources of the grid and the dropdowns.  

Children