This is a 2 part question:
1) When a row is in edit mode, I want the dropdowncolumn to be read-only, the person can't change the selected item in the dropdown.
2) I want the datasource for the column to behave differently depending on if you are in edit mode or not. For instance, my dropdown contains a list of categories. Once you pick a category, it can't be used in other rows. So if you had row1 and the category is fish, when the user adds a new record, the category dropdown would not have the fish entry in the list, just all the other categories. So the user picks meat from the category drop down. They save the row and try to add another row. When they go to create this other row, the category drop down would not have fish and meat. Of course, if you delete the row where you had selected fish, then fish would now be available in the category dropdown. Any ideas on how to accomplish something like this? Thanks.
1) When a row is in edit mode, I want the dropdowncolumn to be read-only, the person can't change the selected item in the dropdown.
2) I want the datasource for the column to behave differently depending on if you are in edit mode or not. For instance, my dropdown contains a list of categories. Once you pick a category, it can't be used in other rows. So if you had row1 and the category is fish, when the user adds a new record, the category dropdown would not have the fish entry in the list, just all the other categories. So the user picks meat from the category drop down. They save the row and try to add another row. When they go to create this other row, the category drop down would not have fish and meat. Of course, if you delete the row where you had selected fish, then fish would now be available in the category dropdown. Any ideas on how to accomplish something like this? Thanks.