I have kendo grid and after initialization of him i tried to change fileName, but k-options keeps old value:
vm.gridOptionsUpdate = {
excel: {
allPages:
true
,
fileName: providerName
},
...........
// I'd like to invoke function
finction changeNmae(){
vm.gridOptionsUpdate.excel.fileName = providerName;
// vm.gridOptionsUpdate.excel.fileName = "new name";
}
<
div
kendo-grid
k-options
=
"vm.gridOptionsUpdate"
k-data-source
=
"vm.dataSourceUpdate"
></
div
>
but when i try to save file 'k-grid-excel' name is still old
help pls