I have a grid and I am using a drop down for one of the columns.In my column settings I have the following code.
{ columnKey: "CreditId", required: true, editorType: "combo", editorOptions: { mode: "dropdownlist", dataSource: creditTypes, textKey: "CreditDesc", valueKey: "CreditId", dropDownOnReadOnly: true, dropDownWidth: 300 } },
This works well and the drop down shows. My issue is the after the user adds one row, they can now add another. When they do it throw an 'Operation is not supported' error.The reason I bring up the drop down is this is the only grid I am having this issue with, so my assumption is that this is causing the problem.
Any ideas or is this possible a known issue?
Thanks.
Hello William,
Thank you for posting in our community.
What I noticed from your code snippet is that in are using editor of a type combo. In editorOptions the mode is set to "dropdownlist", which is not a valid value for igCombo`s mode option. The valid options are:
Please modify the mode option in the columnSettings for "CreditId" column and I believe you will be able to add multiple new rows. For example:
{columnKey: "CreditId",required: true,editorType: "combo",editorOptions: { mode: "dropdown", dataSource: creditTypes, textKey: "CreditDesc", valueKey: "CreditId", dropDownOnReadOnly: true, dropDownWidth: 300}
Please test this on your side and let me know if you need any further assistance with this matter.
Sorry this "My issue is the after the user adds one row, they can now add another. ", should read "My issue is the after the user adds one row, they can NOT add another. "