Scrolling fires RowEditEnding event before scrollPositionChanged event

Posted by: greg.frazer on 18 January 2018, 3:15 pm EST

    • Post Options:
    • Link

    Posted 18 January 2018, 3:15 pm EST

    In a previous version of the FlexGrid(5.20151.51), if we were editing a cell and before we left the cell or the row, we used the mouse to move the scroll bar, the event sequence was:

    cellEditEnding

    scrollPositionChanged

    AND

    rowEditEnding

    rowEditEnded(where we save the row to the server)

    were NOT fired!!

    The lastest version of the FlexGrid(5.20173.380) the event sequence is:

    cellEditEnding

    rowEditEnding

    rowEditEnded(where we save the row to the server)

    scrollPositionChanged

    so now the row is update before we are finished editing.

    How can we program around this?

  • Posted 21 January 2018, 4:24 pm EST

    Hi Greg,

    Thank you for reporting this issue.

    We are able to replicate the issue at our end and it seems a bug. Hence, this issue has been forwarded to the concerned team for further investigation with internal tracking id 305568.

    In the meantime, you may prevent rowEditEnded event to trigger on scrolling the FlexGrid using scroll thumb by handling mousedown event and prevent event to triggered if the cellType is None.

    Please refer to the attached sample for the same.

    ~Manish

  • Posted 21 January 2018, 4:24 pm EST

  • Posted 26 February 2018, 11:41 pm EST

    Hi Greg,

    This issue has been fixed in build 5.20173.428. This fix has been included in next release build.

    You may get this build for testing not for production from here:

    http://prerelease.componentone.com/wijmo5/

    ~Manish

Need extra support?

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

Learn More

Forum Channels