I have a column which creates a dropdown list from a foreign key value.
I change the value in my application, the variable value changes but the drop down list does not update.
var dashboardTypeNames = [];
var menuNames = [];
columns: [
{ field: "DashboardTypeId", values: dashboardTypeNames, title: "Dashboard Type" },
{ field: "MenuId", values: menuNames, title: "Menu" },
],
On start I populate the dashboardTypeNames array with data using ajax the selected item value is then passed to another ajax which i want to populate the second dropdown I have an onchange function which gets the value of the selected item.
Anyhelp would be appreciated