I am v2013.1.319
I have a kendo tab strip with 4 tabs, each has a separate grid. The first grid shows fine tab(0), the other three grids have their bottoms off the bottom of the tab. All of the grids are almost identical. I changed the first grid to the second position and the problem was the same the first grid was ok, the rest were off.
I added
var ts = $("#tsCodesIndividual").data("kendoTabStrip");
and a
ts.select(0) before the first grid
ts.select(1) before the second grid and so on.
It now displays fine. A full example of a grid is below, the only real difference is the datasource:
ts.select(1);
tg.myServiceCodesViewModel = kendo.observable({ data: tg.myServiceCodes });
delete tg.myServiceCodes;
$("#codesIndividualServiceGrid").kendoGrid({
dataSource: {
data: tg.myServiceCodesViewModel.data,
schema: {
model: {
fields: {
custCode: { type: "string" },
tgCode: { type: "string" },
}
}
}
},
pageable: {
pageSize: 10
},
height: 400,
toolbar: ["create", "save"],
columns: [
{ field: "custCode", title: "Code", width: "180px" },
{ field: "tgCode", title: "Service", width: "160px", values: tg.dlService },
{ command: "destroy", title: " ", width: "90px" }
],
editable: true,
resizable: true,
reorderable: true,
saveChanges: function (e) {
if (!confirm("Are you sure you want to save all changes?")) {
e.preventDefault();
}
},
});
The tabstrip is extreamly basic:
$("#tsCodesIndividual").kendoTabStrip({
animation: {
open: {
effects: "fadeIn"
}
}
});
I have a kendo tab strip with 4 tabs, each has a separate grid. The first grid shows fine tab(0), the other three grids have their bottoms off the bottom of the tab. All of the grids are almost identical. I changed the first grid to the second position and the problem was the same the first grid was ok, the rest were off.
I added
var ts = $("#tsCodesIndividual").data("kendoTabStrip");
and a
ts.select(0) before the first grid
ts.select(1) before the second grid and so on.
It now displays fine. A full example of a grid is below, the only real difference is the datasource:
ts.select(1);
tg.myServiceCodesViewModel = kendo.observable({ data: tg.myServiceCodes });
delete tg.myServiceCodes;
$("#codesIndividualServiceGrid").kendoGrid({
dataSource: {
data: tg.myServiceCodesViewModel.data,
schema: {
model: {
fields: {
custCode: { type: "string" },
tgCode: { type: "string" },
}
}
}
},
pageable: {
pageSize: 10
},
height: 400,
toolbar: ["create", "save"],
columns: [
{ field: "custCode", title: "Code", width: "180px" },
{ field: "tgCode", title: "Service", width: "160px", values: tg.dlService },
{ command: "destroy", title: " ", width: "90px" }
],
editable: true,
resizable: true,
reorderable: true,
saveChanges: function (e) {
if (!confirm("Are you sure you want to save all changes?")) {
e.preventDefault();
}
},
});
The tabstrip is extreamly basic:
$("#tsCodesIndividual").kendoTabStrip({
animation: {
open: {
effects: "fadeIn"
}
}
});