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
140
Select multiple columns from a row and place them on the UltraWinGrid Cell.
posted

Hi all,

I have a UltraWinGrid and I assigned the ValueList of a column in the UltraWinGrid to a UltraDrop Down.

The datasource of the UltraDropDown has two columns in it.

What I need in my program is that on the selection of a particular row of the UltraDropDown, both the column values of the DropDown should be inserted in the WinGrid's column.At the moment, i can see only a single column inserted.

Can any one help me regarding this?

Please let me know if any clarifications are needed.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     What I would do is add an unbound column to UltraDropDown control. Use the InitializeRow event of the UltraDropDown to set the value of the unbound cell in the row to the combination of the values in the other two cells. Then you can use this unbound column as your ValueMember or DisplayMember. You can even hide the unbound column by setting Hidden to true if you don't want the users to see it. 

Children