akveo / akveo/ng2-smart-table

Change event for the dropdown in Edit mode

Offen
#886 6 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
1.6k
Forks
867
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

columns: {
Affilliate: { title: 'Affiliate', editable: false },
Year: { title: 'Year', editable: false
Site: { title: 'Site' },
Ctry: {
title: 'Ctry',
editor: {
type: 'list',
config: {
list: this.countries,
},
}
},
St: {
title:'St',
editor: {
type: 'list',
config: {
list: this.states,
},
}
},
}

My code is like this. In edit mode, when a country is selected from the drop down, I need to update the drop down for states with the filtered values based on the selected country. Is there a change event on the drop down? How else can I accomplish this?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.