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
65
Two dropdown columns with same binding property
posted

Hello,

I'm trying to replace the standard Datagridview with Ultragrid in our application. In our DataGridView we usually have two dropdown columns, one for item code and one for item description, both bound to the same property (the item key) in a dataset. So in the first dropdown you have the codes alphabetically ordered and in the second dropdown the descriptions. If you choose one value in a dropdown, the other is set to the correnspondent value depending on the selected key. This is possible in a datagridview because it allows you to bind different columns to the same property via DataPropertyName. In Ultragrid I can't see something like DataPropertyName, but just the Column Key, and you can't set the same Key on different columns. How can we reproduce this scenario using Ultragrid?

  Regards,

Massimo Franzosi