I have added reference Infragistics.Web.Mvc to my project.
Version: 4.14.1.2031
I added one grid to one project. but i am not able to edit my grid at run time.
Below is my code for that grid.
function SchedulerInfoGrid(datasource) {
$("#gridScheduler").igGrid({ PrimaryKey: "ContactID", autoGenerateColumns: false, width: "1024px", renderCheckboxes: true, aggregateTransactions: true, updateUrl: '@Url.Content("~/Nomination/SaveContactsData")', columns: [ { headerText: "Nomination Employee ID", key: "NominatingEmployeeID", dataType: "number" }, { headerText: "Contact Name", key: "ContactName", dataType: "string", width: "20%" }, { headerText: "Company", key: "Company", dataType: "string", width: "20%" }, { headerText: "Phone Number", key: "PhoneNumber", dataType: "string", width: "20%" }, { headerText: "E-mail Address", key: "EmailAddress", dataType: "string", width: "30%" }, ], dataSource: datasource, features: [ { name: 'Hiding', enableVerticalRendering: false, columnSettings: [ { columnKey: 'NominatingEmployeeID', allowHiding: false, hidden: true },
] }, { name: "Selection", mode: "row", multipleSelection: false, touchDragSelect: false, // this is true by default multipleCellSelectOnClick: false }, { name: "Sorting", type: "local" }, { name: 'Updating', editmode:"row", columnSettings: [ { columnKey: "ContactName", editorType: 'string', validation: true, editorOptions: { required: true } }, { columnKey: "Company", editorType: 'string', validation: true, editorOptions: { required: true } }, { columnKey: "PhoneNumber", editorType: 'string', validation: true }, { columnKey: "EmailAddress", editorType: 'string', validation: true, editorOptions: { required: true } }] } ]
});
}
Please let me know what i am missing, why i am not able to edit grid.
Please let me know if you need any other information.
Thanks,
Poonam Chauhan
Issue has been resolved now.
Hello Poonam,
I am glad you were able to resolve your issue. Please, don't hesitate to contact me if you have any other questions or concerns!
Good luck with your project!
Best regards,
Stamen Stoychev