Click here to Skip to main content
15,937,602 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I don't have codes to show because I created it from scratch and I don't know how to start it. Instead, I will show some image of my desired UI.

I have 2 Columns ("Types of Downtime","Description") in my DataGrid.

I added in Item Collection with ("Manpower", "Machine").

https://i.stack.imgur.com/pwn73.jpg

Here's my expected result.

If I click "Machine" the second column will populate "Motor" and "Computer"

https://i.stack.imgur.com/Cqn5D.png

else If I click "Manpower" it will populate "Dela Cruz" and "Dela Torre".

https://i.stack.imgur.com/VLkJn.png

Hope you can help me on this. Thanks!

What I have tried:

https://i.stack.imgur.com/pwn73.jpg[^]https://i.stack.imgur.com/Cqn5D.png[^]https://i.stack.imgur.com/VLkJn.png[^]
Posted
Updated 5-Dec-19 8:34am
v2
Comments
Richard MacCutchan 5-Dec-19 4:47am    
What is the question?

1 solution

Maybe you can use a construction similar to the one in this example that captures the keyboard input and places a "fake" ComboBox:
https://www.encodedna.com/2013/02/show-combobox-datagridview.htm[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900