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
Problem with jqGrid
03/12/2009
23:15
Avatar
jproffer
Austin, TX, USA
Member
Members
Forum Posts: 5
Member Since:
03/12/2009
sp_UserOfflineSmall Offline

hi,

Great product!  Absolutely love the features.  Have a problem though:

I'm loading the css/jqGrid per instructions.  It loads without problems, no errors.  However, after load there's a gray "overlay" div that spans from the top of the page down to the bottom of the jqGrid widget, and extends the full width of the page. (like it added a grayed-out mask overlay while loading but doesnt remove it once loading is complete).  My code is as follows:

        <style media='screen'>
            @import url('/js/jquery.ui.css');
            @import url('/js/main.css');
            @import url('/js/ui.grid.css');
        </style>
        <script type='text/javascript' src='/js/jquery/jquery-1.3.2.min.js'></script>
        <script type='text/javascript' src='/js/jquery/jquery-ui-1.7.2.custom.min.js'></script>
        <script src="/js/jquery/i18n/grid.locale-en.js" type="text/javascript"></script>
        <script type='text/javascript' src='/js/jquery/jquery.jqGrid.min.js'></script>

                <script type="text/javascript" src="/js/jquery/jquery.date_input.pack.js"></script>
                <script type='text/javascript' src='/js/jquery/jquery.masked.input.js'></script>
                <style media='screen'>
                    .panes { overflow: hidden; }
                </style>
                <script type='text/javascript'>
                    $(document).ready(function() {
                        $("#thelist").jqGrid({
                            url:'/ajax/GetUserList/?t=admin&s=0',
                            datatype:"json",
                            colNames:['ID','Username','First Name','Last Name'],
                            jsonReader : { repeatitems: false },
                            colModel:[
                                      {name:'ID',index:'ID', width:20},
                                      {name:'UID',index:'UID asc, invdate', width:50},
                                      {name:'FNAME',index:'FNAME, invdate', width:200 },
                                      {name:'LNAME',index:'LNAME, invdate', autowidth:true},
                            ],
                            pager: jQuery('#pager2'),
                            rowNum: 50,
                            rowList: [25,50,100,300],
                            viewrecords: true,
                            sortname: 'Last Name',
                            sortorder: 'asc',
                            caption: '',
                            autowidth: true,
                            scrollOffset:0
                        });
                    });
                </script>
    <body>
        <div id="errordiv"></div>
        {include file="header.tpl"}
        <div style='padding: 5px;' name="uWizard" id="uWizard">
            <table id='thelist' style='width:100%;'>
            </table>
            <div id="pager2" class="ui-state-default ui-jqgrid-pager corner-bottom"></div>
        </div>
    </body>

I cant figure out where the mask is coming from or why it's not going away.  I use firefox v3.5.5 on Ubuntu Karmic, and get no errors in firebug.

03/12/2009
23:21
Avatar
jproffer
Austin, TX, USA
Member
Members
Forum Posts: 5
Member Since:
03/12/2009
sp_UserOfflineSmall Offline

forgot to mention, that the bottom part of the jqGrid doesnt appear to be visible, either. Attached is a screenshot:

jqGrid not rendering properlyImage Enlarger

04/12/2009
07:26
Avatar
jproffer
Austin, TX, USA
Member
Members
Forum Posts: 5
Member Since:
03/12/2009
sp_UserOfflineSmall Offline

any suggestions? Was told on Twitter to post here, but it's been hours...

04/12/2009
07:46
Avatar
jproffer
Austin, TX, USA
Member
Members
Forum Posts: 5
Member Since:
03/12/2009
sp_UserOfflineSmall Offline

Forget it. Support is unreliable.  I've moved on to FlexGrid http://code.google.com/p/flexigrid/S

Cheers.

04/12/2009
08:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello jproffer,

You expect to have answer within a less than 24h and this for open source product - WOW.

If you do not know if you expect professional and quick solutions of your problems you can use the Support option on this page.

Moreover as you know we have maybe 8-10 h diffrence in the time, so maybe if you write your message we maybe sleep.

By the way your problem is trivial and if you have searched this forum, you maybe will found the solution.

I.e. the problem is that your CSS files are not loaded. You can check this very quick using FireFox FireBug - Net Tab and then choose CSS.

Good Luck with FlexiGrid and thier support.

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

04/12/2009
08:43
Avatar
Rumen[Trirand]
Moderator
Members

Moderators
Forum Posts: 81
Member Since:
08/10/2009
sp_UserOfflineSmall Offline

Hello,

The same problem is described here (the whole thread is useful and I recommend it), but last post nails it:

http://www.trirand.com/blog/?p.....id/#p12725

you can use FireBug to see what gets loaded and what not. Most probably path to CSS files is not correctly set (e.g. root relative) and some of the css files are not found by the browser.

Search in google/forums is quite useful. We have 15,000 posts with lots of info there. Docs too.

Trirand ASP.NET WebForms & MVC components based on jQuery & ThemeRoller

http://www.trirand.net

04/12/2009
09:17
Avatar
jproffer
Austin, TX, USA
Member
Members
Forum Posts: 5
Member Since:
03/12/2009
sp_UserOfflineSmall Offline

I don't think it was unreasonable to expect quick help considering you sent me a tweet on twitter asking me to post here, and I did so within 5 minutes ( had to sign up ).  Your message set expectations.  If you'd had just sent another tweet saying it may take up to 24 hours to get a response, I wouldnt have been so agitated.  I thought you were going to be on the forum looking for my post and responding to it.  So yeah, I get no response, send you a tweet with the link, still get no response, and hours later I see you responding to others..  anyone would find it a bit confusing?

Thanks for pointing out the css issue. I had pasted the css filename from one of your samples - apparently it was spelled as ui.grid.css instead of ui.jqgrid.css.

Cheers.

04/12/2009
09:38
Avatar
Rumen[Trirand]
Moderator
Members

Moderators
Forum Posts: 81
Member Since:
08/10/2009
sp_UserOfflineSmall Offline

No problem, it's okay. Glad the you have it working. 

My intention was just to get you to the right venue where you can get help. This is a very popular project — lots of forum threads popup all the time, many come from twitter, many from other forums/galleries, many from word of mouth. You probably understand that we cannot answer all of them immediately. We also have commercial licenses and people who pay to get help timely help. Many vendors would want you to pay thousands to get 8h responses from the guys who wrote the product. And to add even more – it was midnight.

Can you please tell us where we have missspelled the grid CSS file? We want to update our samples. Please, excuse us for that.

Trirand ASP.NET WebForms & MVC components based on jQuery & ThemeRoller

http://www.trirand.net

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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