Forum


19:41

27/01/2010

I was able to reorder jqGrid columns, but not after refactoring.
Here is my header
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Trials: <%= controller.action_name %></title>
<%= stylesheet_link_tag 'scaffold' %>
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/smoothness/jquery-ui-1.7.2.custom.css" />
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/ui.jqgrid.css" />
<style>
html, body {
margin: 0;
padding: 0;
font-size: 75%;
}
</style>
<script src="javascripts/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="javascripts/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="javascripts/jquery.jqGrid.min.js" type="text/javascript"></script>
</head>
Showing the inclusion of sortable option
....jqGrid({
....
gridview : true,
sortorder: "asc",
caption:"Advanced Searching",
sortable: true,
autowidth: true,
height: 350
});
Any and all assistance is greatly appreciated.
21:56

27/01/2010

I found the err. Appears to be a documentation glitch
The how to install url: http://www.trirand.com/jqgridw.....to_install
With the following sample code:
<http://december.com/html/4/element/link.html
<!-- This jQuery UI library is needed only for the code tabs, not needed by the grid per se -->
<script src="../../../js/jquery-ui-1.7.1.custom.min.js" type="text/javascript"></script>
taken individually and together implied to me that jquery-ui-1.7.2.custom.min.js was not needed for the grid examples.
But in order to do the column reordering I found it necessary to add that package.
Thanks,
Charles Magid
Most Users Ever Online: 715
Currently Online:
67 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