Hello everyone,
I have invested hours in forums, tutorials, searches..ect trying to learn how the UltraGrid and the UltraDataSource work together. To be honest this post could be to vague but I need alot of help on where to start with the grid im working on designing per my requirements.
I need a grid that has 6 columns. The first column holds a string and the rest need to be dropdown columns.
In the designer mode I created the columns and then set the style to dropdownlist. If this is correct is the next step to create a ultradatasource?
Im not very fimiliar with binding especially when it comes to having multiple columns with drop downs. Im assuming all data that is loaded into the grid comes from the data source. If this is true, how can I load each column of type dropdownlist with values?
The most important thing Im trying to accomplish here is when the user selects a value from each drop down, I need to be able to retrieve what that value was and save it to an object stored in that rows tag. I assumed I would do this from the selected row in the ultragrid.
Any help on this would be very very appreciated. I have spent hours doing simple things but the biggest issue Im having is getting the dropdownlist columns to be loaded with values and show in the UI. Could anyone can explain this in a high level concept and what I need to do to get this to happen?
Thank you!
-Very exhausted and frustrated user
Hello,
I was able to get the grid working in my solution. I bypassed the WinGrid wizard and hand stiched everything together. Thanks for your help, and the example code should be enough to get others started as well.
Hi, thank you for your quick response.
I ran your sample solution and was able to get that to work just fine. Im my solution however I was not able to get any values in the dropdownlist. I used the sample code shown, the only difference is that I set my grid up through the designer.
Hello RichSee,
Could you please take a look at the attached sample for more details. In my sample I have a UltraGrid with few dropdown columns. For each dropdown column I apply different datasource. By this way each column has different dropdown list. In the sample I show few possible approaches to achieve such kind of behavior. Also I create a case for you with reference number CAS-70593-78N9M3. You could write me through the case or this forum thread. Please if you have any questions, do not hesitate to ask me
Regards