, { title: "Begin", width: "20%", dataType: "string", dataIndx: "begin",
editor: {
type: "select",
valueIndx: "id",
labelIndx: "text",
mapIndices: { id: "beginMonthID", text: "begin"},
options: [],
init: function (ui) {
ui.$cell.find("select").pqSelect();
}
}
, validations: [
{ type: 'minLen', value: 1, msg: "Required"}
,{
type: function(ui) {
debugger; // not go in this line
let value = ui.value,
checked = false;
if (value === null || value.len === 0)
{
ui.message = "Сould not be restricted empty value !"
}
else
{
checked = true;
}
return checked;
}
}
]