Blur function in dhtmlx tree grid

I have created a dhtmlx tree grid(propGrid = new dhtmlXPropertyGrid(“propertyGrid”) and binding the data to it by using propGrid.loadXMLString(xmlString). It contains a textbox when i double click the textbox i add details into it then when i click outside the treegrid the data gets into that text box. When I click savebutton the data from text box is saved into the db. My issue is if click save button without blur / if the text box is still in focus i am get the data which present before editing the text box. I need a fuction that blur all text box before saving details.

Please, try to call the editStop() method: