Bhargavi Mahal
14 posts
Registered:
16 Dec 2020
02 Aug 2022
Link to this post
Hello Eric,
Thank you for posting your query.
Looking at your code, I think you are on a right track. However, after changing the label, the picklist needs a refresh in order to update the value in the front end.
Please find below code,
tpc.forms[0].fieldName.get_kendoInput().options.dataSource.data[2].Label = 'Hello';
tpc.forms[0].fieldName.get_kendoInput().dataSource.read();
Kindly, try this and let me know if it worked.
Thank you,
Regards,
Bhargavi Mahal.