Thanks for your update.
EnablePersistence property updates the control’s model value on local storage upon load and unload event. If we need to change the control’s value stored in browser’s local storage, then we need to manually edit the stored values in the cookies.
Control state stored with below mentioned format.
"$ej$" + control-plugin-Name + control-id
To store the values, you can use the control’s persistState method, which can be accessed through control’s object. When you call persistState method, the control’s model value will be stored in the local storage.
In order to edit the control state value use window.localStorage.setItem and value can be accessed using window.localStorage.getItem methods.
Note: Manually handling the control state storage is not a recommended way. when page is refreshed the controls, value will be automatically set to the local storage, if enablePersistence property is used.
Please explain your scenario where you will be editing the controls value in local storage without altering the value in control
Let us know if you require any further assistance.