Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
row added by inline add is not visible
10/04/2012
18:58
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline

inline add does not sometimes work with 

position: "beforeSelected"

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 ?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DT.....t;&gt;
<html xmlns="http://www.w3.org/1999/xhtml&q.....t;&gt;
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/aja.....&quot; />
    <link rel="stylesheet" type="text/css" href="http://www.ok-soft-gmbh.com/jq.....&quot; />
    <script type="text/javascript" src="http://ajax.googleapis.com/aja.....pt&gt;
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script&gt;
    <script type="text/javascript" src="http://www.ok-soft-gmbh.com/jq.....pt&gt;
    <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>

12/04/2012
11:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

12/04/2012
11:48
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline
12/04/2012
12:33
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline
12/04/2012
12:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

22/04/2012
21:57
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline

I resolved the issue as described in comment http://stackoverflow.com/quest.....03_4127666

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information