ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: Sodam on February 06, 2018, 05:35:21 am

Title: Difference Between Demo and Pro
Post by: Sodam on February 06, 2018, 05:35:21 am
Why can not drag in demo ver.?

I used css
.pq-native-select{user-select: text; -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text;}
but It does not work...

function initDetail ( ui ){
   console.log("initDetail", ui);
    var rowData = ui.rowData;
    /*html = $("#tmpl").html()*/
    html = "<div class=\"pq-native-select\" style=\"width:auto; white-space:pre-wrap;word-break:break-all; white-space:-moz-pre-wrap; word-wrap:break-word;\">";
    html += "<p>";
    html += rowData.sdContent;
    html += "</p>";
    html += "</div>";
    $detail = $("<div></div>");
    $detail.html(html);
   
    return $detail;
};

Tell me what to do.
Title: Re: Difference Between Demo and Pro
Post by: paramvir on February 06, 2018, 11:15:08 am
Can you please mention which part of grid are you not able to drag.
Title: Re: Difference Between Demo and Pro
Post by: Sodam on February 06, 2018, 11:26:45 am
 Thank you for your reply.
https://paramquery.com/demos/detail    <--here

and Please check the image.
Title: Re: Difference Between Demo and Pro
Post by: paramvir on February 09, 2018, 11:23:51 pm
It works fine now in v2.4.1.

Following classes are added to the selectable region: pq-native-select pq-no-capture
Title: Re: Difference Between Demo and Pro
Post by: Sodam on February 12, 2018, 09:57:45 am
thank you for your reply! Drag works normally.

And I have additional questions.
ctrl c/v(copy) after dragging is not available. Ctrl c copies only [object object].
However, copying is done after right mouse click.

Let me know why ctrl c is not working.
Title: Re: Difference Between Demo and Pro
Post by: paramvir on February 22, 2018, 08:02:34 pm
Solution is mentioned here: https://paramquery.com/forum/index.php?topic=2574.0