Hello,
I am using Kendo Spreadsheet for angular
I want to display spreadsheet inside the angular modal,
so whenever i open the modal,it displays correctly
but for the second time it doesnt display properly(all messed up UI) but as soon as I resize the window it shows properly.
I am attaching the screenshot for better explaination
$scope.openSpreadsheet=
function
(){
$scope.modalInstance = $modal.open({
templateUrl:
'spreadsheetmodal.html'
,
scope: $scope
});
$scope.spreadSheetOptionsEdit={
toolbar: {
home: [
"open"
,
"exportAs"
],
insert: [
[
"addColumnLeft"
,
"addColumnRight"
,
"addRowBelow"
,
"addRowAbove"
],
[
"deleteColumn"
,
"deleteRow"
]
]}
}
}
In view-
<
kendo-spreadsheet
k-scope-field
=
"spreadsheet"
id
=
"spreadsheet"
k-options
=
"spreadSheetOptionsEdit"
k-sheets
=
"sheetsEdit"
></
kendo-spreadsheet
>