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_Related Related Topics sp_TopicIcon
wrong behavior after resizing grid and set grid height
02/12/2010
16:21
Avatar
amalia
Member
Members
Forum Posts: 3
Member Since:
15/11/2010
sp_UserOfflineSmall Offline

Hello,

I have a grid that can be resizable:

$("#grid").jqGrid('gridResize', {minHeight:50});
I am resizing it and afterwards I am selecting a row. At row selection the grid height is changed for instance as following:
$("#grid").jqGrid("setGridHeight", "230"); 
The grid height is changed but an EMPTY part remains in the button of the grid. More exactly, only the "ui-jqgrid-bdiv" 
DIV height is changed to 230px, the parent "gbox_grid" DIV height remains as it was before (for instance 464px).
Any idea how to fix this issue?
Thank you,
Amalia

03/12/2010
10:51
Avatar
amalia
Member
Members
Forum Posts: 3
Member Since:
15/11/2010
sp_UserOfflineSmall Offline

I have fixed this by resetting "gbox_grid" div height, after setting grid height with "setGridHeight":

$(".ui-jqgrid").css({height: ($(".ui-jqgrid-view").height() + $(".ui-jqgrid-pager").height()) + "px"});

Regards,

Amalia

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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