ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started 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.
-
Can you please mention which part of grid are you not able to drag.
-
Thank you for your reply.
https://paramquery.com/demos/detail <--here
and Please check the image.
-
It works fine now in v2.4.1.
Following classes are added to the selectable region: pq-native-select pq-no-capture
-
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.
-
Solution is mentioned here: https://paramquery.com/forum/index.php?topic=2574.0