Forum


06:25

20/10/2009

I'm not exactly a specialist of jgGrid, but I see two possible solutions to this. First is very simple - just set z-index of MessageBoxes to very high value (999 for example) through css (add a special rule to your stylesheet). Or if you got multiple dialogs, now and then covering each other, you will need to set z-index of MessageBoxes dynamically to number higher then parent dialog has at the moment (some custom jQuery selecting and manipulation - shouldn't be hard).
It could be though, that there is much simpler solution. Feel free to ignore my advice I was just trying to be helpful 🙂
08:34

Moderators
30/10/2007

Hello,
Be a sure that all needed css are loaded. Also if you use dev version you should load some additional files. See docs.
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.
09:17

02/10/2009

hmm there is 2 css files - jqeryui's and jQgrid's, both loaded and working.
<?php $this->headLink()->appendStylesheet($this->baseUrl .'css/ui-lightness/jquery-ui-1.7.2.custom.css'); ?>
<?php $this->headScript()->appendFile($this->baseUrl .'js/jquery-1.3.2.min.js') ?>
<?php $this->headScript()->appendFile($this->baseUrl .'js/jquery-ui-1.7.2.custom.min.js') ?>
<?php $this->headScript()->appendFile($this->baseUrl .'js/i18n/grid.locale-ru.js') ?>
<?php $this->headScript()->appendFile($this->baseUrl .'js/jquery.jqGrid.min.js') ?>
13:26

Moderators
30/10/2007

Hello,
Sorry I do not understand.
1. jqGrid does not use jQuery UI. jqGrid use a theming from jQuery UI which is quite diffrent.
2. jqGrid is not jQuery UI widget - it is separate plugin which can work without jQuery UI.
Please explain what you mean.
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.
11:01

24/02/2010

Hi Mhoque,
I found the solution.
In your dialog, set zIndex: 800, e.g. below
$("#divModal").dialog({
autoOpen: false,
modal: true, //this may cause the problem I describe below...
zIndex: 800,
title: "testing modal"
});
but...here is a big BUT....(only with dialog option, modal: true)
If you try to add(or edit) a column, you will see the "add" modal pop up on top of the first popup JqGrid. Everything looks good so far until when I try to click on one of the textbox inside the "add" modal, I am NOT able to click or input anything in the textbox. I guess the z-Index still have some problem with multiple modal popup on the screen . Anyway, if you are just viewing the grid, you will be just fine. Anyone has any tips for my new problem?
Most Users Ever Online: 715
Currently Online:
87 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66