Commit 8cb1e112 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

при вставке колонок в форматированные таблицы поправил проблему с повторением называний колонок.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50682 954022d7-b5bf-4e40-9824-e11837661b57
parent f5411543
......@@ -4703,15 +4703,16 @@
{
for(var s = 0; s < val; s++)
{
var range2 = this._idToRange(newResult[l].id);
var range2 = this._idToRange(newResult[0].id);
if(s != 0)
l = l + 1;
var newNameColumn = this._generateColumnName(filter.TableColumns, startCell - 1);
var tempArray = newTableColumn.concat(filter.TableColumns);
var newNameColumn = this._generateColumnName(tempArray, startCell - 1);
newTableColumn[l] =
{
Name: newNameColumn
};
ws.model.getCell(new CellAddress(range2.r1,range2.c1 + s,0)).setValue(newNameColumn);
ws.model.getCell(new CellAddress(range2.r1,range2.c1 + l,0)).setValue(newNameColumn);
}
}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment