Page 1 of 1
Array Expansion prototype cause the report can not be displa
Posted: Fri Sep 11, 2015 6:38 am
by wangzhu
If I did the following work,report will not be displayed.
Code: Select all
Array.prototype.max = function () {
return Math.max.apply({}, this);
}
Uncaught TypeError: Cannot read property 'innerTable' of undefined

- 121.png (4.74 KiB) Viewed 1031 times
Re: Array Expansion prototype cause the report can not be di
Posted: Fri Sep 11, 2015 11:02 am
by HighAley
Hello.
Please, send us more information about the issue.
What Viewer or Designer do you use?
Could you send us a sample project which reproduces the issue?
Thank you.
Re: Array Expansion prototype cause the report can not be di
Posted: Tue Sep 15, 2015 4:24 am
by wangzhu
Using Chrome,VS2013,MVC,Stimulsoft-Reports-Ultimate-2015.1
Cause of the error has been found.
If I extend prototype array, it will lead to for...in statement can not be executed properly
Re: Array Expansion prototype cause the report can not be di
Posted: Tue Sep 15, 2015 8:26 am
by HighAley
Hello.
Could you specify which Viewer or Designer do you use?
What version of our product do you use?
Thank you.