jQWidgets Forums

jQuery UI Widgets Forums Grid manually trigger cell click

This topic contains 4 replies, has 2 voices, and was last updated by  Dartagnan 10 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • manually trigger cell click #63158

    Dartagnan
    Participant

    Hi,

    I have jqxgrid, with a particular cell selected. After the selection, I’d like to dynamically set edit cursor in the cell so essentially simulating user click or double click.

    How can I achieve that?

    Thank you,
    |D

    manually trigger cell click #63168

    Peter Stoev
    Keymaster

    Hi Dartagnan,

    You can use “begincelledit” method for beginning editing a particular Grid cell.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    manually trigger cell click #63186

    Dartagnan
    Participant

    Thanks Peter, that works. However, it always highlights entire text in the cell.

    Is there a way to unhighlight cell text (while in edit) and set cursor at end of text line? Pretty much what I’m trying to do is use a cell as text entry. For example, the cell has “Enter value: “. I want to dynamically click that cell and set cursor at end of text so that new value is entered in that cell. If there is better way to achieve this prompt I’m all ears.

    Thanks.

    manually trigger cell click #63236

    Dartagnan
    Participant

    Anyone with pointers on this? Please?

    manually trigger cell click #63320

    Dartagnan
    Participant

    Nevermind, I figured it out.

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

You must be logged in to reply to this topic.