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_Related Related Topics sp_TopicIcon
Add icon doesn't open popup
25/10/2012
16:39
Avatar
Luke87
New Member
Members
Forum Posts: 1
Member Since:
25/10/2012
sp_UserOfflineSmall Offline

My jqGrid gets the data with Ajax in xml. The data and the icons in the toolbar are displayed correctly and the paging works too. But when I click on the add Button (+) no form for entering the data of the new record appears.

It's the same behavior on the Browsers: Chrome, Firefox and IE9. I'm using jQuery 1.8.0. 

  <!DOCTYPE html>
   
   
   
  <html>
  <head>
  <title>Admin Show</title>
  <link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet" type="text/css" />
  <link href="css/ui.jqgrid.css" rel="stylesheet" type="text/css" />
  <script src="js/jquery.min.js" type="text/javascript"></script>
   
  <script src="js/grid.locale-de.js" type="text/javascript"></script>
  <script src="js/jquery.jqGrid.min.js" type="text/javascript"></script>
  <script type="text/javascript">
  $(document).ready(function() {
   
  jQuery("#slaveTable").jqGrid({
  datatype: 'xml',
  url: 'ShowEdit/SlaveData.asp?conNameID=178',
  mtype: 'POST',
  editurl: 'ShowEdit/SlaveData.asp?conNameID=178&action=edit',
  height: 231,
  scrollOffset: 0,
  rowNum: 10,
  cellEdit: true,
  pager: $('#slavePager'),
  colNames:['CodeID','Code', 'MaxTickets', 'AlreadyUsedTickets','MandantID','ShowID','EventID','TicketID'],
  colModel:[
  {name:'codeID', width:70, sorttype:'int', align:'center'},
  {name:'code', width:60, editable:true, edittype:'text'},
  {name:'maxT', width:70, editable:true, align:'right', sorttype:'int'},
  {name:'alreadyUsedT', width:120, editable:true, align:'right', sorttype:'int'},
  {name:'mandantID', width:60, editable:true, align:'right', sorttype:'int'},
  {name:'showID', width:60, editable:true, align:'right', sorttype:'int'},
  {name:'eventID', width:60, editable:true, align:'right', sorttype:'int'},
  {name:'ticketID', width:60, editable:true, align:'right', sorttype:'int'}
  ],
  viewrecords: true,
  caption: 'Concession Codes',
  loadError: function(xhr, status, error) {
  alert(status);
  }
  });
  jQuery('#slaveTable').jqGrid('navGrid', '#slavePager', {add:true, del:true, edit:false, view:false, search:false});
   
  });
  </script>
   
  </head>
  <body>
   
  <table id="slaveTable"></table>
  <div id="slavePager"></div>
   
   
  </body>
 

</html>

Thank you very much for your help.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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