Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    IE11 specific - ListGrid right click also expands and collapse menu

    1. SmartClient Ajax RIA system
    Version v9.1p_2014-06-30/Enterprise Deployment (2014-06-30)

    2. IE11(Edge Mode)

    3. None
    4. None

    5. None
    6. Uploaded some files

    We want to support IE11 in our product which uses smartgwt
    - We don't want to upgrade smartgwt
    - please give us a workaround which will solve our issue

    Issue: Have a listGrid child entries of which can be collapsed or un-collapsed. There is also an onCellContextClick which shows menu on right click

    Problem: When we right click and the listgrid entry is collapsed, the menu shows up but the entry become un-collapsed

    Also When we right click and the listgrid entry is un-collapsed, the menu shows up but the entry become collapsed

    Expected behavior: if we right click only the context menu should show up and no other behavior should occur.

    See attached sample code
    Attached Files
    Last edited by karankhokhani; 23 Mar 2015, 10:12.

    #2
    You don't need to upgrade to a new version yet (eg 10.0), but you do need to update to the latest patched version of 9.1 to get IE11 fixes.

    What you're looking for is a patch and downloading a new "p" build is how you get patches.

    We don't deliver patches in any other way because it makes it impossible to test interactions between patches.

    Comment


      #3
      Originally posted by Isomorphic View Post
      You don't need to upgrade to a new version yet (eg 10.0), but you do need to update to the latest patched version of 9.1 to get IE11 fixes.

      What you're looking for is a patch and downloading a new "p" build is how you get patches.

      We don't deliver patches in any other way because it makes it impossible to test interactions between patches.
      Is there a workaround within / through the code, so that we wont have to patch?

      We fixed a similar issue for IE11 as was suggested here (http://forums.smartclient.com/showthread.php?t=32439). But in that case we knew there were two events which we had overriden being fired in sequence and we handled both using the flag mechanism. In this scenario we just have the onCellContextClick event which is getting fired and we don't know which event is getting fired either before or after. If you can give us that information we can override that handler and use the same logic as earlier
      Last edited by karankhokhani; 23 Mar 2015, 10:23.

      Comment


        #4
        Going down that path is a really really really bad idea. You've discovered exactly one place where IE11 has an effect, but there are a lot, and if you try to fix this one case you're just going to run into all the others over time.

        Comment


          #5
          Currently we are having an issue only in this one particular place. We would like to avoid the upgrade for this one issue. Could you please let me know which event is getting fired before or after the cellcontextclick event which is causing the record to collapse/expand? We just need to figure out this event which is getting fired with the cell context click event. Thanks.

          Comment


            #6
            So you've already discovered 2 issues now, and you'd like to gamble that you won't discover another 5 or so over time.. ? We'd just like to emphasize again that we think it's a really, really bad idea to continue down this path.

            There's no event being fired here per se - you are seeing the result of internal ListGrid handling. In order to replicate the fix that has already been applied to the framework, you'd have to override internal methods. For example, TreeGrid.openFolder, which is a public API but not a valid override point, could be overridden via JSNI to no-op on a right click.

            Obviously, this is a hack, and not a supported approach. The supported approach is to download the patch that already fixed this issue.

            Comment

            Working...
            X