Tony,
thank you very much. I send testacases to you by e-mail.
doctype is set in start of page as:
Oleg,
thank you.
Password column is used for two purposes:
1. It allows to verify the presence of password for specific user
2. It allows to chnage password using inline edit.
I was able to add password formatter using
jQuery.extend($.fn.fmatter , {
IF text contains characters like <A
Thank you. I applied this patch by changing line 1852 in
Tony,
thank you for creating wonderful grid.
I sent
I verifed that this patch allows to save row pressing Enter after error has occured. Can we add this to jqGrid official source code, please.
Andrus.
code:
$totalrows = isset($_REQUEST['totalrows']) ? $_REQUEST['totalrows']: false;
if($totalrows) {
$limit = $totalrows;
}
why totalrows are checked? jqGrid does have such parameter in doc
You can switch to slickgrid. According to SlickGrid Developer answer in stackoverflow.com where this issue was discussed, this is resolved in SlickGrid.
I modified controller to return new row id and created
function aftersavefunc(rowID, response) {
I created corrected testcase and included also multiselect: true. This causes the issue. How to start edit using enter and allow multiple row selection also ?
<html xmlns="http://www.w3.org/1999/xhtml
</script>
</script>
</script>$.jgrid.no_legacy_api = true;
$.jgrid.useJSON = true;</script>
$(function () {
var mydata = [
{ id: “1”, invdate: “2007-10-01”, name: “test”, note: “note”, amount: “200.00”, tax: “10.00”, closed: true, ship_via: “TN”, total: “210.00” },
{ id: “2”, invdate: “2007-10-02”, name: “test2”, note: “note2”, amount: “300.00”, tax: “20.00”, closed: false, ship_via: “FE”, total: “320.00” },
{ id: “3”, invdate: “2007-09-01”, name: “test3”, note: “note3”, amount: “400.00”, tax: “30.00”, closed: false, ship_via: “FE”, total: “430.00” },
{ id: “4”, invdate: “2007-10-04”, name: “test4”, note: “note4”, amount: “200.00”, tax: “10.00”, closed: true, ship_via: “TN”, total: “210.00” },
{ id: “5”, invdate: “2007-10-31”, name: “test5”, note: “note5”, amount: “300.00”, tax: “20.00”, closed: false, ship_via: “FE”, total: “320.00” },
{ id: “12”, invdate: “2007-09-10”, name: “test12”, note: “note12”, amount: “500.00”, tax: “30.00”, closed: false, ship_via: “FE”, total: “530.00” }
];var grid = $(“#grid”);
grid.jqGrid({
datatype: 'local',
data: mydata,colModel: [
{ name: 'invdate', editable: true, width: 30 },
{ name: 'name', editable: true, width: 271 }
],
gridview: true,
pager: '#pager',
viewrecords: true,
multiselect: true,
editurl: 'clientArray'
});
});$(“#grid”).jqGrid('bindKeys', {
onEnter: function (rowid) {
alert(“You enter a row with id: ” + rowid);
}
});
I created complete standalone testcase based on your sample below. How to cause alert box to appear on enter ? How to force up and down arrow keys to change current row ?
<html xmlns="http://www.w3.org/1999/xhtml
Thank you.
row ids are
To fix your existing installation add
recreateForm: true
to add method as described in
Can you publish export controller code.
In minimized jas file Error occurs at code
if
(y[0].type==“checkbox”)
y length is 0
Stack trace is
Anonymous Function
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top