Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Can't copy the cell text
posted

Hi Team,

 

In our application we are using a Ignite UI for JQuery Data Grid. If we have a selector cell or row as a feature, we are not able to select the cell text. Can you guys please help us.

 

Thanks

Raja C

  • 1320
    Offline posted

    Hello Raja,

    After investigating this further, I have determined that when Selection feature is enabled the text in the cells could not be selected out of the box. However, what I could suggest as a workaround is to bind a method to the created event of the grid which could look as follows:

    $(document).on("igcontrolcreated", "#grid", function (evt, ui) {

            ui.owner.element.find("tbody").unbind("selectstart");

     

            ui.owner.element.find("tbody td").unbind("mousedown");

    });

    Below I am attaching a sample, demonstrating the described behavior. Please test it on your side and let me know if you need any further information regarding this matter.

    Regards,
    Monika Kirkova,
    Infragistics

    igGridSelectionCopyText.zip