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
Overlay will not hide after grid load
17/08/2009
10:20
Avatar
khall100
New Member
Members
Forum Posts: 2
Member Since:
17/08/2009
sp_UserOfflineSmall Offline

I am having an issue with the overlay not hiding after the grid finishes loading.

here is my code

$("#list2").jqGrid({

  url:'/doctor_json.php',

datatype: "json",

  colNames:[' ','Actions', 'First Name','Middle Name', 'Last Name', 'Credentials','Practice','Specialty','Undergrad', 'Undergrad Yr', 'Dental School', 'Dental Yr', 'Specialty School', 'Specialty Yr'],

  colModel:[

  {name:'id',index:'id', width:20, sortable:false , formatter: 'checkbox', formatoptions:{disabled: 'false'}},

  {name:'act',index:'act', width:75,sortable:false},

  {name:'firstname',index:'firstname, id', width:90, editable: true, editoptions:{size:"20",maxlength:"30"}},

  {name:'middlename',index:'middlename', width:50, editable: true, editoptions:{size:"20",maxlength:"30"}},

  {name:'lastname',index:'lastname.asc', width:80, editable: true, editoptions:{size:"20",maxlength:"30"}},

  {name:'credentials',index:'credentials', width:30},

  {name:'practiceId',index:'practiceId', width:100},

  {name:'specialtyid',index:'specialtyid', width:100},

  {name:'undergrad',index:'undergrad', width:150},

  {name:'undergrad_yr',index:'undergrad_yr', width:20, align: 'right'},

  {name:'dental_school',index:'dental_school', width:150},

  {name:'dental_yr',index:'dental_yr', width:20, align: 'right'} ,

  {name:'specialty_school',index:'specialty_school', width:150},

  {name:'specialty_yr',index:'specialty_yr', width:20, align: 'right'}

  ],

  rowNum:20,

  rowList:[20,40,60],

  // imgpath: gridimgpath,

  pager: $('#pager2'),

  sortname: 'lastname',

   viewrecords: true,

   sortorder: "asc",

   loadComplete: function(){

var ids = $("#list2").getDataIDs();

for(var i=0;i<ids.length;i++){

var cl = ids[i];

be = "<input style='height:22px;width:20px;' type='button' value='E' onclick=$('#list2').editRow("+cl+"); ></ids>"; 

se = "<input style='height:22px;width:20px;' type='button' value='S' onclick=$('#list2').saveRow("+cl+"); />"; 

ce = "<input style='height:22px;width:20px;' type='button' value='C' onclick=$('#list2').restoreRow("+cl+"); />"; 

$("#list2").setRowData(ids[i],{act:be+se+ce});

}

},

//editurl: "server.php",

   caption:"Doctors",

   shrinkToFit: true,

   width: 675,

   height: '100%'

}).navGrid('#pager2',{view:true,edit:false,add:true,del:true});

Not sure what I'm missing. No errors in FF or IE. Just the Warning modal with the text "Please, select row. "

17/08/2009
10:34
Avatar
khall100
New Member
Members
Forum Posts: 2
Member Since:
17/08/2009
sp_UserOfflineSmall Offline

Nevermind. It was an error on my part (obviously) . I did not have the correct path to the CSS files.

31/08/2009
11:53
Avatar
ca
Guest
Guests

khall100 said:

Nevermind. It was an error on my part (obviously) . I did not have the correct path to the CSS files.


i think this should be considered a bug.  I had the same trouble. But it was not an incorrect reference in code, it was because the server where the jqgrid.CSS was hosted went down temporarily.  if its an esay fix, it would be nice to see the grid degrade gracefully… it looks like it does a pretty good job of loading, just does not hide the overlay. 

NOTE this only happens if there is a jquery ui theme css file avaliable.  If there are no CSS files at all there is no stuck overlay.

thanks for the great grid!

04/09/2009
03:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

For which version is this and in which browser?

Also imgpath is not needed anymore in 3.5 versions.

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.

25/09/2009
10:52
Avatar
MHoque
Guest
Guests

What CSS file you had wrong reference to.

I am having the same issue.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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