This question is locked. New answers and comments are not allowed.
Hello,
I want to use the GridView to make the user enter some data. The cenario is this:
When the user open the window the grid will be empty with a blank row. The first row has a combo box and the rest of the column are read-only. The user choose what he want in the combo (from the first column) and the system should fill the data (from the selected item in the combo) in all columns.
The system should notice that there aren't any empty row and create one.
What I have until now? I can create the new row when the form open, I can bind the combobox with the list that I want.
What I need to know? How can get the selected item in the combo? How can we have or check for a "New Row" in the grid?
Can you make a little example of this usage?
regards
Paulo Aboim Pinto
Odivelas - Portugal
I want to use the GridView to make the user enter some data. The cenario is this:
When the user open the window the grid will be empty with a blank row. The first row has a combo box and the rest of the column are read-only. The user choose what he want in the combo (from the first column) and the system should fill the data (from the selected item in the combo) in all columns.
The system should notice that there aren't any empty row and create one.
What I have until now? I can create the new row when the form open, I can bind the combobox with the list that I want.
What I need to know? How can get the selected item in the combo? How can we have or check for a "New Row" in the grid?
Can you make a little example of this usage?
regards
Paulo Aboim Pinto
Odivelas - Portugal