Hello Support,
Columns and Rows are not displayed when the Spreadsheet Control is placed inside a Panel Bar.
The spreadsheet control crashes with missing references when clicking on it.
Sample "simple" code.
@(Html.Kendo().PanelBar()
.Name("TestPanelBar")
.Items(items =>
{
items.Add()
.Text("Spreadsheet1")
.Content(@<text>
@(Html.Kendo().Spreadsheet()
.Name("TestSpreadsheet")
.HtmlAttributes(new { style = "width:100%" })
.Sheets(sheets =>
{
sheets.Add()
.Name("Sheet1")
.Columns(columns =>
{
columns.Add().Width(200);
columns.Add().Width(200);
})
.Rows(rows =>
{
rows.Add().Height(25).Cells(cells =>
{
cells.Add()
.Value("Column1")
.Background("rgb(167,214,255)")
.Color("rgb(0,62,117)")
.TextAlign(SpreadsheetTextAlign.Center);
cells.Add()
.Value("Column2")
.Background("rgb(167,214,255)")
.Color("rgb(0,62,117)")
.TextAlign(SpreadsheetTextAlign.Center);
});
});
})
)
</text>);
})
)