Hello,
I'm using this function to add a grid as detail of a row:
function detailGridData(e) {
var data = e.data.Periodos;
e.detailsElement.find("#detailGrid").ejGrid({
dataSource: data,
allowSelection: true,
columns: [
{ field: "Nombre", key: true, headerText: TextoNombre, width: 80, textAlign: ej.TextAlign.Left , allowEditing:true},
{ field: "FechaCreacion", key: true, headerText: TextoFechaCreacion, width: 80, textAlign: ej.TextAlign.Left, format: "{0:dd/MM/yyyy hh:mm:ss}", allowEditing: false },
{ field: "Autor", key: true, headerText: TextoAutor, width: 80, textAlign: ej.TextAlign.Left, allowEditing: false },
{ field: "FechaInicio", key: true, headerText: TextoFechaInicio, width: 80, textAlign: ej.TextAlign.Left, format: "{0:dd/MM/yyyy}", allowEditing: false },
{ field: "FechaFin", key: true, headerText: TextoFechaFin, width: 80, textAlign: ej.TextAlign.Left, format: "{0:dd/MM/yyyy}", allowEditing: false },
{ field: "Visible", key: true, headerText: TextoVisible, width: 80, textAlign: ej.TextAlign.Left, displayAsCheckbox: true, editType: ej.Grid.EditingType.Boolean, allowEditing: true },
{ field: "Observaciones", key: true, headerText: TextoObservaciones, width: 80, textAlign: ej.TextAlign.Left, allowEditing: true },
{ field: "IdPeriodo", key: true, headerText: "", width: 80, textAlign: ej.TextAlign.Left , visible : false, isPrimaryKey: true}
]
,editSettings: { allowAdding: false, allowEditing: true, editMode: ej.Grid.EditMode.batch },
toolbarSettings: { showToolbar: true, customToolbarItems: ["search", "update", "cancel"] }
});
}
But the toolbar is not showing the icons and the localized texts.
Thanks!