Difference between onAfterRender and onBeforeRender

as i am assinging the value to text field using the onAfterRender its not working.
but if i assign the value to text field using the onBeforeRender its working

Hey @rajkumar, the difference here is that the component has already been rendered, and in order to display the new value you need to re-render the component yet again, by calling the refresh() method: https://snippet.webix.com/jcqq453c. Please note how I’ve wrapped my function around webix.once so that it doesn’t get stuck in a loop.