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
jqGrid 4.4.0 add,edit does not work
02/09/2012
17:54
Avatar
ramakrishna
Member
Members
Forum Posts: 3
Member Since:
03/07/2012
sp_UserOfflineSmall Offline

Hi,

the below code does not allow me to add or edit the row. when clicked on add or edit icon in pager, the form does not show. no errors.

plese help,

Regrds.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DT.....038;hellip;..t;&gt;
<html>
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" >
        <link type="text/css" href="/otest/css1/cupertino/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
        <link type="text/css" href="/otest/css1/ui.jqgrid.css" rel="stylesheet" />
        <script type="text/javascript" src="/otest/js/jquery-1.8.0.min.js"></script>
        <script type="text/javascript" src="/otest/js/jquery-ui-1.8.23.custom.min.js"></script>
        <script type="text/javascript" src="/otest/js/jqGrid-4.4.0/js/i18n/grid.locale-en.js"></script>
        <script type="text/javascript" src="/otest/js/jqGrid-4.4.0/js/jquery.jqGrid.min.js"></script>
    </head>
    <body>
    <div align="center">
        <table id="authgrid"></table>
        <div id="pager"></div>
         <script type="text/javascript">
        jQuery(document).ready(function (){
            jQuery("#authgrid").jqGrid({
                datatype:'json',
                url:'data/examauthorizationData.php',
                editurl:'data/examauthorizationData.php',
                mtype:'GET',
                colNames:["ExamId","ExamTitle","Owner"],
                colModel:[{name:"EXAMID",index:"EXAMID",editable:true,width:300,edittype:"text"},
                            {name:"ETITLE",index:"ETITLE",editable:true,width:200,edittype:"text"},
                            {name:"OWNER",index:"OWNER",editable:true,width:200,edittype:"text"}
                        ],
               pager:'#pager',
               width:600,
               rownumbers:true,
               viewrecords:true,
                onSelectRow : function(rowid,status){alert(rowid);}
            });
            jQuery("#authgrid").jqGrid('navGrid','#pager',{edit:true,add:true,del:false,search:true});
        });
        </script>
    </div>
    </body>
</html>

02/09/2012
18:39
Avatar
ramakrishna
Member
Members
Forum Posts: 3
Member Since:
03/07/2012
sp_UserOfflineSmall Offline

it works with jquery 1.7.2, i guess 1.8 is not compatible.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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