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
Caption problem
11/03/2009
07:21
Avatar
missa
france
Member
Members
Forum Posts: 104
Member Since:
20/02/2009
sp_UserOfflineSmall Offline

hello,

i'm in despair!!! yesterday, my caption of my grid appears normally and the function "hidden" work.

Today, I don't know why, may caption of mys grid deseppear  and i don't know why.

My css are loaded:

-  grid.css

- jqModal.css

And my js are:

- jqgrid/jquery.js"

- jqgrid/jquery.jqgrid.js

- /js/jqDnR.js

-/js/jqmodal.js

-/js/grid.formedit.js

<script type="text/javascript">
jQuery(document).ready(function(){
    jQuery("#client").jqGrid({
           url:'/paiement/traitement/server.php?nd='+new Date().getTime(),
        datatype: "json",
           colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'],
           colModel:[
               {name:'invid',index:'invid', width:55,sorttype:"int"},
               {name:'invdate',index:'invdate', width:90,editable:true,sorttype:"date",datefmt:"dd/mm/yyyy",formatter:'date',formatoptions:{newformat: 'd/m/Y'},editrules:{date:true,required:true}},
               {name:'name',index:'name', width:100,editable:true,sorttype:"text",editrules:{required:true}},
               {name:'amount',index:'amount', width:80, align:"right",sorttype:"float",editable:true,editrules:{number:true}},
               {name:'tax',index:'tax', width:80, align:"right",sorttype:"float",editable:true,editrules:{number:true}},
               {name:'total',index:'total', width:80,align:"right",sorttype:"float",editable:true,editrules:{number:true}},
               {name:'note',index:'note', width:150, sortable:false,editable:true}
           ],
           rowNum:10,
           rowList:[10,20,30],
           pager: jQuery('#pclient'),
           caption: "tableau test",      
           imgpath: '/paiement/jqgrid/themes/coffee/images/',
        viewrecords: true,
        editurl: "/paiement/traitement/server.php",
    }).navGrid('#pclient', {refresh:false,add:false,del:false,search:false,edit:false}
    );   
});

</script>

<table id="client" class="scroll" cellpadding="0" cellspacing="0"></table>
<div id="pclient" class="scroll" style="text-align:center;"></div>

Please, help me!!!! I don't understand!!!!!!!!!!! I'm boring! Today it's work and tomorrow it's doesn't work!!!

Thank you for your help! It's very important, I must finish my projet quickly!!!

regards!

Aurore

11/03/2009
08:07
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

If you upgrade to the last version see online docs on what is needed for this purpose.

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.

12/03/2009
05:05
Avatar
missa
france
Member
Members
Forum Posts: 104
Member Since:
20/02/2009
sp_UserOfflineSmall Offline

Hello Tony,Smile

I read 15 times your documentation, i checke each point of my cod and I don't find, why the caption doesn't appear!

In page 28, you said: "caption: sets the caption ... If this paramater is not set the Caption layer will be not visible"

But in my grid, my Caption is set.

I don't know why?!!Cry

Please help me, because I think that this problem prevents me, to adapt "search froms" details in page 123!!!

Thank you for your help!!!

Aurore

12/03/2009
10:56
Avatar
dunx
dunx
Member
Members
Forum Posts: 11
Member Since:
16/01/2009
sp_UserOfflineSmall Offline

The same has happened to me updating from 3.4beta2 to 3.4.2.

There's nothing obvious in the What's Changed section for this release.

I suspect Tony has documented this somewhere in the online docs, rather than the slightly out-of-date PDF, which relates to 3.4.1.

I'll start searching through the 92 pages of online docs to see if I can find what's changed. The trouble is, this is not machine searchable.

12/03/2009
11:09
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

It is in the section - what is new.

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.

12/03/2009
12:44
Avatar
dunx
dunx
Member
Members
Forum Posts: 11
Member Since:
16/01/2009
sp_UserOfflineSmall Offline

In which documentation set Tony?

Can't see anything obvious as to why the caption layer is no longer displaying in the blog, PDF or http://www.secondpersonaplural.ca docs

Can't you just tell us?

12/03/2009
13:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Version 3.4

CSS: Themes

..

Other changes have been made to the CSS files; if you use them just as they come, all you need to do is install the new ones over your old ones. But if you have modified your copies, then you may prefer to implement the following changes individually:

  • .GridHeader { display:none;}

    should be replaced with

    .GridHeader {}

  • div.loadingui

    should be replaced with

    div.loadingui {
    display:none;
    z-index:6000;
    position:absolute;
    }

  • new item should be added
    div.loadingui div.msgbox {
    position: relative;
    z-index:6001;
    left: 35%;
    top:45%;
    background: url(images/loading.gif) no-repeat left;
    width: 100px;
    border: 2px solid #B2D2FF;
    text-align: right;
    height: auto;
    padding:2px;
    margin: 0px;
    }

These changes replace the original red “Loading” message at the upper left of the grid with a new cleaner message and animated icon in the middle of the grid. To make this work, copy the loading.gif from image directory of the new version to the appropriate place. This appears, of course, only when you have loadui:”block” in the grid configuration.

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.

13/03/2009
03:23
Avatar
missa
france
Member
Members
Forum Posts: 104
Member Since:
20/02/2009
sp_UserOfflineSmall Offline

Hello Tony and Dunx,

I update the last version 3.4.2 and after all work.

thank you for your help!!! I so happy!!

Regards

Aurore

13/03/2009
05:06
Avatar
dunx
dunx
Member
Members
Forum Posts: 11
Member Since:
16/01/2009
sp_UserOfflineSmall Offline

That wasn't in What's New for 3.4.2, which is why I didn't spot it. I was previously using 3.4 beta2, which was fine, but do have a custom stylesheet.

Many thanks.

13/03/2009
10:23
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

IMHO - all news in new versions should be read.

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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