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
No search icon
17/07/2011
07:43
Avatar
tj123
New Member
Members
Forum Posts: 1
Member Since:
17/07/2011
sp_UserOfflineSmall Offline

I try to add the search functionality, after several try, there is still not even a basic icon show up, I just totally confused...

someone please help me figure this out.

... this is my code.

<link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/jqgrid_UI_1/jquery-ui-1.8.14.custom.css" />

<style>
html, body
{
    margin: 0;
    padding: 0;
    font-size: 75%;
}
</style>
<script src="js/jquery-1.5.2.min.js" type="text/javascript"></script>
<script src="js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="js/jquery.jqGrid.min.js" type="text/javascript"></script>
 
 
<script type="text/javascript">
    
    
    
$(function(){
  $("#list").jqGrid({
    url:'Test.php',
    datatype: 'xml',
    mtype: 'GET',
    colNames: ["Study","UploadDate","Investigator","Platform","Species","Array","Description"],
    colModel :[
      {name:'Name', index:'Name', width:200 , search:true, stype:'text'},
      {name:'UploadDate', index:'UploadDate', width:100},
      {name:'Investigator', index:'Investigator', width:120, align:'left'},
      {name:'Platform', index:'Platform', width:120, align:'left'},
      {name:'Species', index:'Species', width:120, align:'left'},
      {name:'Array', index:'Array', width:150, align:'left'},
      {name:'Description', index:'Description', width:300, sortable:false}
    ],
    pager: '#pager',
    page: 1,
    rowNum:50,
    rowList:[50,100,200],
    sortname: 'Name',
    sortorder: "desc",
    viewrecords: true,
    caption: 'Test Grid',
    height: "100%"
  });
})
;

jQuery("#list").jqGrid('navGrid', '#pager', { edit: false, add: false, del: false, search: true, refresh: false });

    
    
    
    
    
    
    

</script>
 

</style>
 
 
 
</head>

<body>
    <div id="maindiv">
        <table id="list"><tr><td/></tr></table>
        <div id="pager"></div>
    </div>
</body>
</html>

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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