Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
Exception thrown when mouse-over the grid that has no visible columns
posted

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!

Parents
No Data
Reply
  • 29417
    Suggested Answer
    Offline posted

    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://es.infragistics.com/support

     

Children
No Data