I am trying to bind the Grid with Dropdown, and when I click on the grid Drop down, I get the below error.
For binding the grid Dropdown data source I used the below code
Grid Code
I attached my Index.tsx file for your reference. Can you please suggest any way to overcome this? When I am looking to find the solution on the syncfusion forum, other users face the same issues.
Note - I attached two file if I used the Index working.txt code then the drop down is working but if used the index.txt using const approach it's giving me an error.
Why still I not getting any update on this
Hi Karan,
Greetings from Syncfusion support.
Based on your query, when you use class component
you are able to provide additional params to the dropdown like adding custom
data source to the dropdown list edit template, but when you use functional
component, you are facing an issue. Currently we are validating your query, we
will provide further details on or before 6th October, 2022. We appreciate
your patience until then.
Regards,
Joseph I.
Hi Karan,
Sorry for the inconvenience caused.
Cuurrently we are validating your query, we will provide further details on or before 10th October, 2022. We appreciate your patience until then.
Regards,
Joseph I.
Hello, Joseph Thank you for updating me but now we are trying to implement this same functionality with react typescript function instated of class . So, can you please provide the sample code for grid with function.
Thank you
Hi Karan,
Sorry for the inconvenience caused.
Based on your query, you want to change the datasource of the edit template dropdown. We are preparing the sample with typescript functional component. We will provide the issue details on 11th October 2022. We appreciate your patience until then.
Regards,
Joseph I.
Hi Karan,
Thanks for your patience.
As per your request, we have prepared a sample to add custom datasource for the dropdown edit, in a functional component in react typescript. Please refer the below sample for more details.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/FUNCTI~1-1443499244
Please get back to us for further details.
Regards,
Joseph I.