jQWidgets Forums

jQuery UI Widgets Forums Grid Copy cell text

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Copy cell text #26618

    luesak
    Participant

    How do I highlight a cell text and copy it?

    I’m not talking about copying using javascript as I know it’s only supported by IE.

    I’m saying plain old… highlight the text and the use Ctrl+C

    This seems to be possible only when the grid is editable…

    But my grids are readonly.

    Would it be possible to “fake” editable?… i.e. double click the cell… go into edit mode… but the textbox is readonly… but can highlight text and copy paste..

    Please post sample.

    Thanks

    Kim

    Copy cell text #26621

    Peter Stoev
    Keymaster

    Hi Kim,

    The solution is to set: enablebrowserselection to true during the Grid’s initialization.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.