Hi
I have a dropdown column named "status" , with four possible values to select : (['Not started', 'In progress', 'Completed', 'Rejected']). But when I use edit prop to pass these options to column, the edit feature stops working on the whole grid. It works if I remove edit prop from the ColumnModel.
Here is code for my status column
It gives me the following error.
Uncaught TypeError: col.edit.create is not a function
at EditRender.getEditElements (edit-renderer.js:227:1)
at EditRender.update (edit-renderer.js:39:1)
at Observer.<anonymous> (batch-edit.js:963:1)
at Observer.notify (observer.js:104:1)
at Grid.Base.trigger (base.js:190:1)
at BatchEdit.editCellExtend (batch-edit.js:941:1)
at BatchEdit.editCell (batch-edit.js:890:1)
at BatchEdit.dblClickHandler (batch-edit.js:101:1)
at Observer.notify (observer.js:101:1)
at Grid.Component.notify (component.js:269:1)
at Grid.dblClickHandler (grid.js:3833:1)
Hi Hakan,
Thanks for contacting syncfusion forum.
Query: Script error thrown while using the dropdown column with edit params
We checked your query by preparing sample based on your code example, but we were unable to reproduce the issue at our end.
Please refer to the below sample,
https://stackblitz.com/edit/react-veu3px-5vz2mb?file=index.js,data.js,index.html
Still if you are facing the issue, kindly get back to us with the below requested details,
The provided information will be helpful to provide you response as early as possible.
Regards,
Pon selva
Hi Pon,
Thanks for your reply.
As you suggested I have re-created the problem in the StackBlitz Project here
As you requested:
Hi Hakan,
Thanks for the update.
We are able to reproduce the issue (Script error thrown while editing in the dropdown column (status column)) at our end. We are validating this query with high priority. And We will update you with further details by 23rd May 2022. Until then we value your patience. Meanwhile, we will contact you if any details are required.
Regards,
Pon selva
Hi Hakan,
We appreciate your patience.
On further validation, we have confirmed this issue as a bug and logged defect report for the same “Script error thrown while editing in the dropdown column in which Persistence enabled”. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technical feasibility and Product Development Life Cycle) and including the defect fix in our weekly patch release which is expected to be rolled out by June 15th, 2022.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link. Until then we appreciate your patience.
Feedback Link: https://www.syncfusion.com/feedback/35100/script-error-thrown-while-editing-in-the-dropdown-column-in-which-persistence
Regards,
Pon selva
Hi Hakan,
We appreciate your patience.
We are glad to inform that v20.1.60 has been rolled out and the fix for the issue “Script error thrown while editing in the dropdown column in which Persistence enabled” has been included in this weekly patch release. Kindly upgrade into v20.1.60 to resolve the problem.
Kindly get back to us for further assistance.
Regards,
Pon selva