Flexgrid - Editor.Text problem

Posted by: kodees on 21 February 2021, 10:41 pm EST

    • Post Options:
    • Link

    Posted 21 February 2021, 10:41 pm EST

    I want to display the typed letters in the editor. While try the editor.text in KeyPressEdit event, it only shows upto the previous character.

    for example

    the value in the cell is ABCD and I type E it shows only the ABCD not ABCDE

    any idea?

  • Posted 22 February 2021, 4:17 pm EST

    Hi,

    Please note, KeyPressEdit event fires in edit mode, when the user presses a character key or we can say KeyPressEdit event is used to handle characters which are being typed.

    Please try to use KeyUpEdit (fires in edit mode, when the user releases a key) event instead of KeyPressEdit.

    Thanks,

  • Posted 22 February 2021, 4:32 pm EST

    Hi, thanks, is there any way to catch the keys - ENTER or up/down keys?

  • Posted 22 February 2021, 5:23 pm EST

    Hi,

    Sorry to say but I couldn’t able to understand your requirement exactly. Can you please elaborate your use case a bit further and also share a sample application if possible.

    So that we can provide a solution for you.

    However, Enter or up/down keys are used for specific purpose in C1FlexGrid.



    Enter key is used for enter a cell in edit mode or out a cell from edit mode.

    Up/Down keys are used for moving the cursor/selection over the cells.

    Thanks,

Need extra support?

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

Learn More

Forum Channels