Hello ,
I am using webix 2.2.0 version. I am using the following code.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../../codebase/webix.css" type="text/css" media="screen" charset="utf-8">
<script src="../../codebase/webix.js" type="text/javascript" charset="utf-8"></script>
<title>Layout and Resizer</title>
</head>
<body>
<div id='layout_div' style='width:600px; height:600px; margin:20px;'></div>
<script type="text/javascript" charset="utf-8">
webix.ui({
container:"layout_div",
id:"layout",
height:550,
width:700,
rows:[
{
cols:[
{
view : "text",
value : "",
label : "Test",
labelWidth : 130,
width : 320,
labelAlign : "right",
id : "Name"
}
]
}
]
}).show();
$$('Name').define('readonly', true);
$$('Name').setValue("'s-test");
//$$("Name").refresh();
</script>
</body>
</html>
When I am using $$(“Name”).refresh() code I am unable to set the value when name contains “’” character, if doesn’t contain it is populating. If I Commented the code ($$(“Name”).refresh()) I am able to set the value. Can you please help me how to fix this issue.