Hi,
My ui-grid 3.0 has 2 dropdown editable columns.
{ name: 'type_id', displayName: 'Type', editableCellTemplate: 
'ui-grid/dropdownEditor',
                    editDropdownIdLabel: 'id', editDropdownValueLabel: 
'name', cellFilter: 'mapTypes', editDropdownOptionsArray: typesArr,
                    validators: { required: true }, cellTemplate: 
'ui-grid/cellTitleValidator', enableFiltering: false, width: 100
                }

{ name: 'clickable', displayName: 'Clickable', editableCellTemplate: 
'ui-grid/dropdownEditor',
                    editDropdownIdLabel: 'id', editDropdownValueLabel: 
'name', cellFilter: 'mapClickables', editDropdownOptionsArray: 
clickablesArr,
                    validators: { required: true }, cellTemplate: 
'ui-grid/cellTitleValidator', enableFiltering: false, width: 100
                }

Both are populated dynamically at grid load.
I need to restrict the second dropdown options to a subset of its original 
options when user selects a value in dropdown 1.

Please help me do this.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to