Forum
18:58
05/05/2011
inline add does not sometimes work with
in empty grid.
To reproduce, open page below in IE9 and click to inline add button (+) in toolbar. Added row does not appear.
How to fix this ?
<html xmlns="http://www.w3.org/1999/xhtml&q.....t;>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/aja....." />
<link rel="stylesheet" type="text/css" href="http://www.ok-soft-gmbh.com/jq....." />
<script type="text/javascript" src="http://ajax.googleapis.com/aja.....pt>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://www.ok-soft-gmbh.com/jq.....pt>
<script type="text/javascript">
$(function () {
'use strict';
var mydata = [
],
$myGrid = $("#grid");
$myGrid.jqGrid({
datatype: 'local',
data: mydata,
colModel: [
{name: 'id', index: 'id', width: 65, align: 'center', sorttype: 'int', hidden: true},
{name: 'invdate', editable: true},
{name: 'name', index: 'name', width: 70, editable: true}
],
toppager: true,
gridview: true,
height: 'auto'
});
var $grid = $('#grid');
$grid.jqGrid('navGrid', '#grid_toppager',{ add: false} );
$grid.jqGrid('inlineNav', '#grid_toppager', {
addParams: {
position: "beforeSelected"
},
});
});
</script>
</head>
<body>
<table id="grid"></table>
<div id="pager"></div>
</body>
</html>
11:26
Moderators
30/10/2007
Hello,
From where you get this? It is not documented and not supported.
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
11:48
05/05/2011
This is documented in
12:33
05/05/2011
And also discussed in
12:52
Moderators
30/10/2007
Hello,
This is only discussion. This does not mean that it is added.
Please check this before post.
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
21:57
05/05/2011
I resolved the issue as described in comment http://stackoverflow.com/quest.....03_4127666
Most Users Ever Online: 715
Currently Online:
42 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66