Forum
11:31
Hello,
in order to have a better resizable grid (see New in version 3.6 -> Resizing grid example in jqGrid Demos page ), we can replace:
jQuery("#resize").jqGrid('gridResize',{minWidth:350,maxWidth:800,minHeight:80, maxHeight:350});
with:
jQuery("#resize").jqGrid('gridResize', {minWidth:350, maxWidth:1280, minHeight:400, maxHeight:1024,
resize: function(event, ui) {
var wjq = $('.ui-jqgrid-bdiv').width();
$('#presize').width(wjq); //PAGER_ID
$('#gview_resize').width(wjq); // gview_GRID_ID
$('.ui-state-default.ui-jqgrid-hdiv').width(wjq);
}
});
This example code can be modified and included directly in jqGrid without difficulty, at least if it works for you...
Regards
13:54
21/09/2009
01:57
Moderators
30/10/2007
@lucasbob,
Thanks, so we must add some other thing like top and bottom tolbar, footer row too. Let stay this as is. If someone want to do it so, they will use your code for particular grid.
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.
Most Users Ever Online: 715
Currently Online:
58 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