A business logic is that grid columns are invisble when user has no permission to the entire datagroup.
In this scenario, when the grid contains no columns, mouse-over the grid will throw exception from infragistics.ui.grid.tooltips.js (version 12.2.20122.2086, line 340). It is due to the visibleColoumns() is undefined.
Please confirm if this is a bug at your end. Thanks!
Hello Erica,
I’ve received a response regarding this from our development team.
This scenario is not a supported scenario according to the development team and therefore will not be fixed.
They’ve suggested to add the following event handler to the grid setup:
rowsRendering: function (evt, ui) {
if (ui.owner._visibleColumns().length === 0) {
return false;
}
This means that no rows will be rendered if no columns are visible. As the body will be empty Tooltips won't try to show and no exceptions will be thrown.
Let me know if you have any questions or concerns.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support