dataMap mouse click not working when wijmo grid used inside row expansion

Posted by: christopher-stansbury on 14 September 2017, 11:59 am EST

  • Posted 14 September 2017, 11:59 am EST

    Hello,

    We are using a Wijmo grid and using the row expansion feature. Inside the expansion area, we are using another grid. One of the columns in the inner grid is making use of Wijmo’s dataMap drop-down. The mouse click does not seem to work in this scenario for that column. I can click into the field and hit F4 on the keyboard and the drop-down works just fine. My engineer mentioned that the grid seems to be losing context for the onClick event.

    My engineer did a little investigative work, and came to this hypothesis:

    i think the guilty code is in wijmo.grid.js

    line 8349 of that file has this block that can’t find the right element:

    // handle drop-down items (even on editors)

    var icon = document.elementFromPoint(e.clientX, e.clientY);

    if (wijmo.closest(icon, ‘.’ + grid.CellFactory._WJC_DROPDOWN)) {

    _this._toggleListBox(ht.range);

    _this._htDown = null;

    e.preventDefault();

    return;

    }

    as part of a mousedown event listener that starts on line 8304

    I have attached a screenshot of the grid as it is today. As I mentioned, the keyboard works fine here. It just seems to be the mousedown event. Is there a potential workaround for this issue? I can follow-up with more information if needed.

    Thank you for your time!

  • Posted 14 September 2017, 11:59 am EST

    +1

  • Posted 14 September 2017, 11:59 am EST

    Hello,

    Thanks for reporting this issue.

    We are able to replicate issue at our end and looks like a bug. Hence, this issue has been escalated to the concerned team for further investigation with tracking id 253236. We will let you know as soon as we get any information.

    Thanks,

    Manish Kumar Gupta

  • Posted 14 September 2017, 11:59 am EST

    Hi, I have the same issue when using the grid inside Angular2 material dialog. Keyboard works, I am not able to select the item from the dropdown using the mouse.

    I am using Wijmo 5.20172.328 Eval. Is there a workaround?

  • Posted 14 September 2017, 11:59 am EST

    The issue seems to be fixed in Wijmo 5.20171.300 Enterprice Eval

  • Posted 14 September 2017, 11:59 am EST

    Hi,

    We are investigating on this.

    Thanks,

    Manish Kumar Gupta

  • Posted 14 September 2017, 11:59 am EST

    Hello,

    We are sorry, we are unable to replicate the issue at our end with the latest build 5.20171.328 which can be downloaded from here.

    Please refer to the attached sample used for replicating the issue.

    Thanks,

    Manish Kumar Gupta

    2017/07/FlexGrid_detail_dataMap_angularMaterial_dialog.zip

  • Posted 14 September 2017, 11:59 am EST

    I have this issue with C1Wijmo-Eval_5.20172.328, is it not the latest?

  • Posted 14 September 2017, 11:59 am EST

    Hi,

    Yes, the build 5.20172.328 is latest and 5.20171.328 is written by mistake.

    The attached sample is with latest build 5.20172.328.

    Thanks,

    Manish Kumar Gupta

  • Posted 14 September 2017, 11:59 am EST

    I am using MdDialog from @angular/material and the issue does exists. Please advice.

    This is implementation on material2 components, see url below

    https://material.angular.io/components/dialog/overview

    @angular/material”: “^2.0.0-beta.8”

  • Posted 14 September 2017, 11:59 am EST

    And to re-iterate, the issue doesn’t appear in your enterprise eval version 5.20171.300.

  • Posted 14 September 2017, 11:59 am EST

    Hello,

    We are investigating this. We will update you soon.

    Thanks,

    Manish Kumar Gupta

  • Posted 14 September 2017, 11:59 am EST

    Hello Alex,

    Thank you for additional information.

    We are able to replicate the issue at our end and it looks like a bug. Hence, this issue has been escalated to the concerned team for further investigation with tracking id 274554.

    We will let you know as soon as we get any information on this.

    Thanks,

    Manish Kumar Gupta

  • Posted 16 October 2017, 2:24 pm EST

    Hi Manish,

    Are there any updates on this?

    Thanks!

  • Posted 20 January 2018, 8:03 am EST

    Hi,

    This issue has been verified as fixed with the latest build 5.20173.403.

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels