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
Refactored based upon latest install documentation and lost ability to reorder columns.
02/02/2010
19:41
Avatar
cmmagid
New Member
Members
Forum Posts: 2
Member Since:
27/01/2010
sp_UserOfflineSmall Offline

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.

02/02/2010
21:56
Avatar
cmmagid
New Member
Members
Forum Posts: 2
Member Since:
27/01/2010
sp_UserOfflineSmall Offline

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
Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information