[SSE] Refactoring pivot table

This commit is contained in:
Julia Radzhabova 2021-03-28 02:03:19 +03:00
parent b80686c318
commit 8b455af381

View file

@ -415,8 +415,8 @@ define([
models[index].set({
pivotIndex: pivotIndex,
index : index,
value : name,
tip : (name.length>10) ? name : ''
value : name || '',
tip : (name && name.length>10) ? name : ''
});
} else
arr.push(new Common.UI.DataViewModel({
@ -424,8 +424,8 @@ define([
allowSelected : false,
pivotIndex : pivotIndex,
index : index,
value : name,
tip : (name.length>10) ? name : ''
value : name || '',
tip : (name && name.length>10) ? name : ''
}));
isChecked[getNameFunction ? name : me._state.names[pivotIndex]] = true;
});