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
problems with my first grid
04/03/2010
23:57
Avatar
lube
Member
Members
Forum Posts: 13
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

I have the following code in my html:

<link rel="stylesheet" type="text/css" media="screen" href="css/redmond/jquery-ui-1.7.2.custom.css" />

<link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" />

<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>

<script src="js/i18n/grid.locale-sp.js" type="text/javascript"></script>

<script src="js/jquery.jqGrid.min.js" type="text/javascript"></script>

I get my grid. 

dibujo

Because it shows very great the font in the circles I've scored? Can anyone help me?

05/03/2010
01:27
Avatar
bdensmore
Member
Members
Forum Posts: 11
Member Since:
21/01/2010
sp_UserOfflineSmall Offline

The best way to figure out which styles you need to change is to use firebug or some other developer toolset. You can select each element and find out the name of the style and where it's located.

Some of the values are inherited from the jquery ui css file but others are set in the ui.jqgrid.css file.

The headers for the grid are in this selector, which is located in the ui.jqgrid.css file:

.ui-jqgrid .ui-jqgrid-htable th div

You can change the value of the font size there, but you are probably better off overriding the style in your own css file.

Let me know if that helps.

Ben

05/03/2010
18:33
Avatar
lube
Member
Members
Forum Posts: 13
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

Ok. Thanks.

I was hoping to display the grid as it is in the examples without having to modify the css.

I have seen the source code the:

http://trirand.com/blog/jqgrid.....qgrid.html

I do not see anywhere that amending the css to change the font size.

How do I get the same result without changing the css?

I'm using the same example and css files does not work.

any ideas?

05/03/2010
19:50
Avatar
Sk
Chile
Member
Members
Forum Posts: 4
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

have you ever tried with other navigator like as Firefox or Internet Explorer?

intentaste con firefox 3 o internet explorer 6 o superiores?

06/03/2010
00:24
Avatar
lube
Member
Members
Forum Posts: 13
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

He probado en chrome 4.0 , firefox 3.6 y se presenta igual. ¿puedo enviarte mis archivos para que me ayudes?

06/03/2010
06:42
Avatar
Sk
Chile
Member
Members
Forum Posts: 4
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

Deberias bajar el CSS de Jquery UI como se indica en el install txt a continuacion la definicion de mi primera grid

<link rel="stylesheet" type="text/css" media="screen" href="css/ui-lightness/jquery-ui-1.7.2.custom.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/jqModal.css" />
<script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="js/grid.loader.js" type="text/javascript"></script>

Si ticas todos los modulos de jqgrid para descargar en la carpeta src esta el grid.loader.. que vendria siendo el mismo que esta para descargar desde github como JQuery.jqgrid.js
La version Jqgrid.min es la que compila y que junta todos los src en un solo archivo..

the adjunto mi carpeta js y css completa

File

Saludos
Sk

08/03/2010
19:55
Avatar
lube
Member
Members
Forum Posts: 13
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

Hola Sk

Gracias por tu ayuda.

He copiado tus archivos que haz enviado y tu código de carga de los archivos y sigue el mismo problema.  me muestra la siguiente pantalla:

http://picasaweb.google.com/lh.....directlink

Mi Html es el siguiente: (modificado para que cargue un array)

http://siga.regionlambayeque.g.....array.html

Por favor fíjate que la letra de los datos del propio grid también salen grande.

Ya no se que hacer más.  por favor espero puedas ayudarme.

Muchas Gracias

10/03/2010
19:29
Avatar
lube
Member
Members
Forum Posts: 13
Member Since:
05/03/2010
sp_UserOfflineSmall Offline

Ya solucioné mi problema.

Por sea el caso por si le sirva a alguien.  Solo me faltaba agregar la siguiente línea al inicio de mi archivo HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

No sabría decir porqué.  ¿alguien tiene idea?

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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