Hi,
I am not able to edit grid row. However i can add new row to the grid.
Below is my code:
$("#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', 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 help me in finding out why i am not able to edit grid row.
Please let me know if you need any other information.
Thanks,
Poonam
Hello Poonam,
Thank you for posting in our forum.
Based on your code I’ve created a sample in order to test this scenario on my side. I’ve created a sample using version 14.1 service release version:14.1.20141.2249, which is the latest service release for 14.1 at the moment. When testing this on my side I was not able to reproduce the issue you’ve described.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the versions we are using.
If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if I can provide any further assistance.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support
Hi Maya,
Could you please send me zip file again.
When i am downloading ighgrid.zip file. it throwing error that "Archive is either is in unknown format or damaged"
Issue has been resolved.
Hello,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this
Poonam,
Please try again.
Hi Maya Kirova,
Could you please send me ighgrid.zip file again.
Regards,