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
2 lines header, possible?
31/03/2010
06:40
Avatar
Oh
New Member
Members
Forum Posts: 1
Member Since:
31/03/2010
sp_UserOfflineSmall Offline

Hi

First of all, sorry for the lack of English speaking. (In Use Google Translator)

I would like to implement this feature.

I want to be represented by two lines of the header. (Looks like below)

-------------------------------------------------------------------------------------------

                                            |             top line           |                               |

-------------------------------------------------------------------------------------------

               |             |             |                 |                 |                |              |

-------------------------------------------------------------------------------------------

Of course, the top line is going to have seen. This is related to the lower line colModel.

Would it be possible?

If possible, please help.

03/04/2010
15:47
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Currently this is not possible, but it is a feature which will be added in the next releases.

Best Regard

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.

06/04/2010
19:27
Avatar
ram2010
Member
Members
Forum Posts: 43
Member Since:
13/01/2010
sp_UserOfflineSmall Offline

Yes this is a good idea... I often have header labels that are much longer than what is needed for displaying the data in the column.

So something like a headerLabelWrap so that it the header can display on multiple rows.

26/08/2010
21:32
Avatar
SomethingNew
Member
Members
Forum Posts: 8
Member Since:
26/08/2010
sp_UserOfflineSmall Offline

Sorry for opening an old thread. 

Two questions is it possible now, or is it planned for an upcoming release?

25/10/2010
22:48
Avatar
pchan
Member
Members
Forum Posts: 9
Member Since:
05/10/2008
sp_UserOfflineSmall Offline

Hi,

is this possible now?

26/10/2010
21:06
Avatar
SomethingNew
Member
Members
Forum Posts: 8
Member Since:
26/08/2010
sp_UserOfflineSmall Offline

Do you mean in this latest release 3.8.1? Idk

29/10/2010
21:30
Avatar
pchan
Member
Members
Forum Posts: 9
Member Since:
05/10/2008
sp_UserOfflineSmall Offline

@ram2010:

To have a long title to wrap in the cell on the title, change this style in the file themes\ui.jqgrid.css

.ui-jqgrid .ui-jqgrid-htable th div {white-space: pre-wrap; WORD-WRAP:BREAK-WORD; position:relative;}

The title may then take several lines, unless you add into the braces "height:38px;" to limit the height to 2 lines.

To resize a column, aim at the cell border on the first row.

@New Member:

This requirement is not just wrapping the text but creating a double row of cells. There is a problem of defining column spans...

29/10/2010
21:47
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Look at this answer and this demo which produce the following results

Image Enlarger

Best regards

Oleg

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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