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
Frozen Column with Toolbar Filter and dynamic row height
24/09/2013
03:20
Avatar
betty
Member
Members
Forum Posts: 22
Member Since:
24/06/2009
sp_UserOfflineSmall Offline

I use jqgrid 4.5.2. I managed to make my report worked perfectly as Okelg's demo (http://www.ok-soft-gmbh.com/jq.....038;hellip;..olumns.htm[Image Can Not Be Found]). Truly appreciate his great demo page and the sample code.

But since the height of each row in my table various (not default 22px), most of the time the report looked like the following screen shot -

Image Enlarger

I think in order to resolve this issue, I need to loop through the rows in the bDiv and get each row height, and then assign the row height to the rows in fbDiv one-by-one according.

So my question is how to retrieve each row height in bDiv dynamically? I know setRowData can take the css property for assigning the row height, but I still missing the step of get the row height in bDiv.

Thanks so much for the help.

24/09/2013
05:45
Avatar
12seconds
Member
Members
Forum Posts: 6
Member Since:
20/09/2013
sp_UserOfflineSmall Offline

You mind posting your code so anyone of us can have a look at it to see what's wrong?

24/09/2013
10:03
Avatar
betty
Member
Members
Forum Posts: 22
Member Since:
24/06/2009
sp_UserOfflineSmall Offline

The post at the following link described the exact same issue I have. I should be able to figure out a solution by study the post :)

http://stackoverflow.com/quest.....rd-wrap-on;..rd-wrap-on

24/09/2013
12:06
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

The link you have posted here is not readble.

You can add a link without problems if you select some

text and and use the a href tag  (insert/edit link) in the editor's button menu.

Example here

Regards

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.

25/09/2013
00:57
Avatar
betty
Member
Members
Forum Posts: 22
Member Since:
24/06/2009
sp_UserOfflineSmall Offline

Again, truly appreicate the great jqGrid tool and Okelg's generous contribution.

For anyone who has the similar issue, please refer to the following link. Read through the sample code and demo pages, you will be able to get a perfectly working grid table with filter toolbar and frozen column enabled, and even with the cell text wrapped.

<a href="http://stackoverflow.com/questions/8686616/how-can-i-get-jqgrid-frozen-columns-to-work-with-word-wrap-on">Okelg's solution page</a>

All the best! Smile

25/09/2013
13:45
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hi Betty,

I posted recently on the stackoverflow the answer which can be used to extend the example which you reference so that

  • it supports additional scrollbar at the top of the grid: Image Enlarger
  • it fixed the size and the position of frozen divs if the user use zooming in the web browser.

I hope that the solution could be interesting for other users of jqGrid.

Best regards
Oleg 

27/09/2013
23:15
Avatar
betty
Member
Members
Forum Posts: 22
Member Since:
24/06/2009
sp_UserOfflineSmall Offline

Thank you so much OlegK. The demos are wonderful.

One thing to add for the other users who need to get the similar grid worked, please add the following patch to jqGrid 4.5.2 from GitHub.

<a href="https://github.com/tonytomov/jqGrid/commit/17af0cb9ca07ad88388de4e8cc6a8af5697423b7">https://github.com/tonytomov/jqGrid/commit/17af0cb9ca07ad88388de4e8cc6a8af5697423b7</a&gt;

Again, thanks so much!!Laugh

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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