Commit e84cfd4a 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@49275 954022d7-b5bf-4e40-9824-e11837661b57
parent 969c73db
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
*/ */
var prot; var prot;
var turnOnProcessingSpecSymbols = true; var turnOnProcessingSpecSymbols = true;
var maxCountIndValAF = 999;
function AutoFiltersOptionsElements (val, visible) { function AutoFiltersOptionsElements (val, visible) {
if ( !(this instanceof AutoFiltersOptionsElements) ) {return new AutoFiltersOptionsElements(val, visible);} if ( !(this instanceof AutoFiltersOptionsElements) ) {return new AutoFiltersOptionsElements(val, visible);}
...@@ -3454,7 +3453,7 @@ ...@@ -3454,7 +3453,7 @@
result[nC].visible = false;*/ result[nC].visible = false;*/
} }
if(nC >= maxCountIndValAF) if(nC >= 1000)
{ {
break; break;
} }
...@@ -3527,7 +3526,7 @@ ...@@ -3527,7 +3526,7 @@
} }
} }
this._isHiddenAnotherFilter(curFilter.ColId,nRow,ws); this._isHiddenAnotherFilter(curFilter.ColId,nRow,ws);
if(nC >= maxCountIndValAF) if(nC >= 1000)
{ {
break; break;
} }
...@@ -3572,7 +3571,7 @@ ...@@ -3572,7 +3571,7 @@
{ {
result.splice(nC,1); result.splice(nC,1);
} }
else if(nC >= maxCountIndValAF) else if(nC >= 1000)
{ {
break; break;
} }
...@@ -3616,7 +3615,7 @@ ...@@ -3616,7 +3615,7 @@
{ {
result.splice(nC,1); result.splice(nC,1);
} }
else if(nC >= maxCountIndValAF) else if(nC >= 1000)
{ {
break; break;
} }
...@@ -3661,7 +3660,7 @@ ...@@ -3661,7 +3660,7 @@
if(ws.model._getRow(s).hd) if(ws.model._getRow(s).hd)
result[nC].visible = 'hidden'; result[nC].visible = 'hidden';
} }
if(nC >= maxCountIndValAF) if(nC >= 1000)
{ {
break; break;
} }
......
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