angular-table-resize icon indicating copy to clipboard operation
angular-table-resize copied to clipboard

Problem with turn off debug information mode

Open COSTADOR opened this issue 7 years ago • 3 comments

You have a problem when application try to use $compileProvider.debugInfoEnabled(false); We always disable this in production for a significant performance boost.

For example function saveColumnSizes() use angular.element(column).scope() which dont work when we set to false debugInfoEnabled.

COSTADOR avatar Dec 26 '18 15:12 COSTADOR

I was not aware of this. Do you have any suggestions on how to avoid this but still access the scope?

tympanix avatar Dec 31 '18 14:12 tympanix

I am not completely following. Maybe, instead of accessing the scope directly, I will have rzCol and rzTable communicate through the controller.

tympanix avatar Jan 02 '19 00:01 tympanix

Instead of scope() we can use angular.element(column).text(). This way we can avoid this issue.

krishna217 avatar Oct 03 '19 06:10 krishna217