a month ago - last edited a month ago
Hello experts!
I created a ComboBox column in my grid object using the following line of code:
Grid0.Columns.Item(8).Type = SAPbouiCOM.BoGridColumnType.gct_ComboBox;
I have a DataTable and a grid.
I call the ExecuteQuery() method on DataSources.DataTable and then transform the column type to ComboBox. Additionally, I am populating the field with valid values.
The problem is: how can I retrieve the value selected by the user on the screen? When I select a value from the list, the field remains null (nothing is selected).
The user will open the list of valid values and select one of them. I tried to create a UserDataSource to bind the column, but I believe that's not possible for grid objects.
How can I display the ComboBox and fill the field with the value selected by the user?
I tried this code above, but it shows the error {"Valid Value - Value does not Exist [66000-62]"}
Thanks!
Request clarification before answering.
User | Count |
---|---|
20 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.