I created a grid with a details row and add/edit/delete capabilities. When you select a row and click the edit button (it does not happen if you dblclick) the row is not shifted correctly to the right one extra column because of the details dropdown. Below is the code
var contgrid = $("#gridschcont").ejGrid({
dataSource: contdata,
detailsTemplate : "#contNotesRow",
allowPaging:true,
allowSorting:true,
allowTextWrap:true,
isResponsive: true,
enableResponsiveRow: true,
enableAltRow:true,
enableHeaderHover:true,
enableRowHover:true,
columns: [
{ field: "contact_id", allowEditing:false, isIdentity:true, isPrimaryKey: true, textAlign: ej.TextAlign.Center, headerText: "ID", width:70 },
{ field: "contact_name", cssClass:'ww', headerText: 'Full Name', validationRules: { required: true, minlength: 5 } },
{ field: "contact_position", cssClass:'ww', headerText: 'Position', validationRules: { required: false, minlength: 5 } },
{ field: "contact_email",cssClass:'ww', headerText: 'Email', validationRules: { required: false, minlength: 5 } },
{ field: "contact_phone", cssClass:'ww', headerText: 'Phone', validationRules: { required: false, minlength: 10 } },
{ field: "contact_ext", headerText: 'Ext', textAlign: ej.TextAlign.Center , width:70},
{ field: "contact_fax", cssClass:'ww', headerText: 'Fax', validationRules: { required: false, minlength: 10 } }
],
contextMenuSettings: { enableContextMenu: false},
editSettings: {allowEditing: true, allowAdding: true, allowDeleting: true, showDeleteConfirmDialog : true},
toolbarSettings: {
showToolbar: true,
toolbarItems: [
ej.Grid.ToolBarItems.Add,
ej.Grid.ToolBarItems.Edit,
ej.Grid.ToolBarItems.Delete,
ej.Grid.ToolBarItems.Update,
ej.Grid.ToolBarItems.Cancel
]
}
});