BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
$("#detailGrid").ejGrid({ dataSource: data, toolbarSettings: { showToolbar: true, toolbarItems: [ej.Grid.ToolBarItems.Add, ej.Grid.ToolBarItems.Update, ej.Grid.ToolBarItems.Cancel] }, editSettings: { allowEditing: true, allowAdding: true }, allowSelection: false, columns: [ { field: "Id", isPrimaryKey: true, headerText: "ID", width: 80, textAlign: ej.TextAlign.Center }, { field: "Age", headerText: 'Age', width: 80, textAlign: ej.TextAlign.Center }, { field: "Unit", headerText: "Unit", width: 80, textAlign: ej.TextAlign.Center, foreignKeyField: "Unit", foreignKeyValue: "Value", dataSource: dateUnit } ], actionComplete: function (args) { if (args.requestType == "add") { var drpdwn = this.getContentTable("#detailGrid").find("#detailGridUnit").ejDropDownList("instance"); console.log(drpdwn); drpdwn.setSelectedValue(2); } } |
Regards,
Balaji Marimuthu