Forum
Topic RSS
19:37
26/07/2009
OfflineI switched over to August 1st, 2009 3.5 version and the Find Records icon disappeared.I changed nothing else but used new
ui.jqgrid.css and jquery.jqGrid.min.js. Code below. Any ideas?
var chessWindow;
jQuery(document).ready(function(){
jQuery("#list2").jqGrid(
{ url:'<%=myurl.toString() %>/chessGames',
datatype: "json",
mtype: 'POST',
colNames:['White','ELO', 'Black','ELO', 'Result', 'ECO', 'Event', 'Site', 'Date'],
colModel:
[ {name:'white',index:'white', width:90, align:"left"},
{name:'white_elo',index:'white_elo', width:65, align:"center"},
{name:'black',index:'black', width:80,align:"left"},
{name:'black_elo',index:'black_elo', width:65,align:"center"},
{name:'result',index:'result', width:80,align:"center"},
{name:'eco',index:'eco', width:45, align:"center"},
{name:'event',index:'event', width:160, align:"center"},
{name:'site',index:'site', width:160, align:"left"},
{name:'event_date',index:'event_date', width:80, align:"right"}
],
ondblClickRow: function(id) {
//alert("id="+id);
chessWindow = window.open( "<%=myurl.toString() %>/chessexplorer.htm?CVOID="+id, "Chess Explorer",
"left=20,top=20,width=700,height=700,toolbar=1,resizable=0");
},
rowNum:10,
autowidth: true,
rownumbers: true,
rowList:[10,20,30],
pager: jQuery('#pager2'),
sortname: 'white',
viewrecords: true,
sortorder: "desc",
caption:"Chess Games" }).navGrid('#pager2',{edit:false,add:false,del:false,search:true,refresh:true},
{multipleSearch:true}
);
});
</script>
00:03
Moderators
30/10/2007
OfflineHello,
Very strange.
From which directory you copy the ui.jqgrid.css? - See this:
http://www.trirand.com/jqgridw.....to_install
Regards
Tony
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.
Most Users Ever Online: 994
Currently Online:
55 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66
Log In
Home