Rollback input value when scroll with the scroll wheel without blur

Posted by: minhquangam on 29 March 2023, 10:25 pm EST

    • Post Options:
    • Link

    Posted 29 March 2023, 10:25 pm EST

    I have a custom column contain a input. I defind a function A will be execute when input blur. When i change the input value (from ‘abc’ to ‘abcd’, and scroll without blur, the value will return to original (‘abc’), function A doesn’t executed. But when i change the same input at the first or second row, that doesn’t happen, function A executed. only from the 3rd row onwards.

    I don’t know why. Please help me! I use FlexGridCellTemplate to custom cell

  • Posted 30 March 2023, 9:41 pm EST

    Hi,

    As per our understanding, you are using Wijmo’s FlexGrid React component, in which you are using the ‘FlexGridCellTemplate’ to insert an input element inside the cell. If so, then you can use the ComboBox control as the input element inside to cell. You can handle the ‘blur’ event on the combobox input element, and perform your desired tasks.

    You can refer to the following sample for the same - https://stackblitz.com/edit/react-rpr1gz?file=Hello.js

    In case, if your issue is still not resolved, then please share a small sample in which we can replicate the issue, as we are unable to replicate it on our end, so that we can investigate the root cause of the issue and assist you accordingly.

    Regards

Need extra support?

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

Learn More

Forum Channels