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!

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

     

  • 29417
    Offline posted

    Hello Erica,

     

    Thank you for reporting this.

    I’ve logged this as a new development issue with number:133754.

     

    I’ve also opened a private case for you with number: CAS-111120-G7R0M7. You should be able to see it in your active cases on our website.

    I’ve linked the case to the development issue so that you may track its progress.

     

    I will leave that case open and update you with any new information after the review.  You can also continue to send updates to the case at any time.

     

    You can view the status of the development issue connected to the case by selecting the "Development Issues" tab when viewing this case on the web site.  

     

    Please let me know if you need more information.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer II

    Infragistics, Inc.

    http://ko.infragistics.com/support