Hello,
I have inside Promise function that makes the accessibility I have a grid and column has which is Kendo DropDownList.
I wanted functionality like in this http://jsbin.com/judagiroyi/edit?html,js,output but since my is not global cannot directly write editor code as below in grid:
it shows some error pointing to kendo script which is not correct and which means ImportPNRSettlementTypeEditor is not accessible. if i declare JavaScript with function ImportPNRSettlementTypeEditor and make editor: ImportPNRSettlementTypeEditor it works. What to do if want editor in my model?
I have inside Promise function that makes the accessibility I have a grid and column has which is Kendo DropDownList.
I wanted functionality like in this http://jsbin.com/judagiroyi/edit?html,js,output but since my is not global cannot directly write editor code as below in grid:
data-columns='[{"field": "SettlementType", template: kendo.template($("\\#ImportPNRSettlementTypeTemplate").html()),
editor: viewModel.ImportPNRSettlementTypeEditor, title: "Settlement Type"
}
]'
it shows some error pointing to kendo script which is not correct and which means ImportPNRSettlementTypeEditor is not accessible. if i declare JavaScript with function ImportPNRSettlementTypeEditor and make editor: ImportPNRSettlementTypeEditor it works. What to do if want editor in my model?