Forum



12:04

10/06/2011

Hello,
I've got next code which contains a jqgrid with 2 columns.
$("#listGrupos").jqGrid({
url: '<%= Url.Action("GetRestoGrupos") %>',
datatype: 'json',
mtype: 'GET',
colNames: ['Descripción', 'Código'],
colModel: [
{ index: 'descripcion', width: 200, align: 'left' },
{ index: 'codigo', width: 200, align: 'left' },
],
pager: $('#pagerGrupos'),
rowNum: 10,
rowList: [10, 20, 50],
sortname: 'descripcion',
sortorder: 'asc',
viewrecords: true,
imgpath: '/Scripts/jquery-ui-1.8.12.custom/css/south-street/images',
caption: 'Resto de Grupos',
height: 200,
width: 400,
postData: { idLinea: function() { return $("#lineaSelected").val(); } },
onSelectRow: function(id) {
}
});
The problem there is that pager toolbar message 'Showing page 1-3 of 3' is not beeing shown because of the small width of the jqgrid.Look at the image:
How can I reduce the empty left part of the pager toolbar div?
Thanks a lot,
Most Users Ever Online: 715
Currently Online:
45 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