Hello,
out of necessity, as a newbie, I program a website with PQGrid and encounter some problems.
1.) Translation into German
I did this after the tutorial from the homepage and the controls are all still in English. You can handle it, but it would be a nice-to-have.
https://paramquery.com/demos/Localize // Initialisation
var $grid = $("div#vormerkungen").pqGrid(obj);
$.extend($.paramquery.pqGrid.defaults, $.paramquery.pqGrid.regional['de']);
$.extend($.paramquery.pqPager.defaults, $.paramquery.pqPager.regional['de']);
2.) Edit the entries in a popup.
Also here I proceeded according to instructions and adapted it to my situation. Unfortunately without success, because here is the problem that he does not pass the data to the popup and I find no documentation about how this works best. Here I also look at similar products like jqgrid and try to get the solution via transfer, but always fail with different error messages.
Here a small snippet of my code. My problem is that I don't get any values with this snippet.
function editRow() {
var rowIndx = getRowIndx();
if (rowIndx != null) {
var row = $grid.pqGrid('getRowData', rowIndx);
var $frm = $("form#crud-form");
$frm.find("input[name='artikelnr']").val(row["artikelnr"]);
$frm.find("input[name='aufgabe']").val(row["aufgabe"]);
$frm.find("input[name='prio']").val(row["prio"]);
....
Basically I have to say that I have never programmed JavaScript before and am rather the office programmer for emergency solutions (we call it "Insellösung" in German), not a programmer of flesh and blood.
I hope anybody can help me to understand. And a third question is, how I can debug this to solve myself.