jQWidgets Forums

jQuery UI Widgets Forums Grid Paste value to grid cells of jqxNumberInput

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  andy8 9 years, 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • andy8
    Participant

    Hi All,

    A simple question: how to paste values to grid cells of jqxNumberInput type? Have a look at your own demo of custom row editors. This is the scenario:

    1. Click on the cell – it opens jqxNumberInput
    2. Select (highlight) the old number.
    3. Paste another number by mouse right click.
    4. Unless you press an up/down spin button, the new value is not saved and it returns to the old value.

    How can we make the cell updated on paste?

    Thank you


    Peter Stoev
    Keymaster

    Hi andy8,

    We don’t support web browser’s built-in context menus. Paste works with Ctrl+V i.e with Clipboard operations which are supported.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    andy8
    Participant

    Thanks Peter. Still I have to find the way of doing it as the client requires a mouse paste functionality.

    Can you point me into a right direction? I understand that I should bind ‘paste’ event and set the cell value equal to the pasted value, but cannot figure out as where to extract the pasted value from jqxNumberInput….

    Any advice would be appreciated.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.