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
Toolbar with Operations jumps to top of page
14/05/2013
20:50
Avatar
fditw
New Member
Members
Forum Posts: 2
Member Since:
14/05/2013
sp_UserOfflineSmall Offline

Love the toolbar with operations features.  However, we are experiencing a slight problem when clicking the operator to change it when the grid is down on the page--the page jumps to the top of the page (a href=#).

Is this a bug or are we doing something incorrectly?

Regards.

14/05/2013
23:18
Avatar
fditw
New Member
Members
Forum Posts: 2
Member Since:
14/05/2013
sp_UserOfflineSmall Offline

This happens for me when copying the example directly, with the exception of using local data.

            $("#list451").jqGrid({
//                 url : 'localset.php',
                datatype : "local",
                height : 255,
                width : 600,
                colNames : [ 'Index', 'Name', 'Code' ],
                colModel : [ {
                    name : 'item_id',
                    index : 'item_id',
                    width : 65,
                    sorttype : 'integer',
                    searchoptions : {
                        sopt : [ 'eq', 'ne', 'le', 'lt', 'gt', 'ge' ]
                    }
                }, {
                    name : 'item',
                    index : 'item',
                    width : 150,
                    sorttype : 'string',
                    searchoptions : {
                        sopt : [ 'eq', 'bw', 'bn', 'cn', 'nc', 'ew', 'en' ]
                    }
                }, {
                    name : 'item_cd',
                    index : 'item_cd',
                    width : 100
                } ],
                rowNum : 50,
                rowTotal : 200,
                rowList : [ 20, 30, 50 ],
                loadonce : true,
                mtype : "GET",
                rownumbers : true,
                rownumWidth : 40,
                gridview : true,
                pager : '#pager451',
                sortname : 'item_id',
                viewrecords : true,
                sortorder : "asc",
                caption : "Loading data from server at once"
            });

            
            $("#list451").jqGrid('filterToolbar', {
                searchOperators : true
            });
            var mydata2 = [ {item_id: "1",item:"a",item_cd:"3"}
                         ];
            
            for(var i=0;i<=mydata2.length;i++)
                $("#list451").jqGrid('addRowData',i+1,mydata2[i]);

15/05/2013
15:54
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. Fixed in GitHub.

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
46 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