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
Editing with checkboxes that uses html within the cell
10/07/2008
12:46
Avatar
son122
Member
Members
Forum Posts: 32
Member Since:
07/07/2008
sp_UserOfflineSmall Offline

Currently I have this:

"<cell><![CDATA[<label style=\\"color:Green;\\">Yes</label>]]></cell>"

A "Yes" is colored green.  A "No" is colored red.

The problem I have is when editing this with checkboxes.

What's needed here:

edittype: "checkbox", editoptions: { value: "______:No"}

for it to recognize that this should be checked?  Is it possible?

10/07/2008
19:10
Avatar
son122
Member
Members
Forum Posts: 32
Member Since:
07/07/2008
sp_UserOfflineSmall Offline

Another question,

Some of my column heading title gets cut off when the grid is displayed.  I wanted a more flexible heading titles.  In other words, I want its text to wordwrap to the next line when it gets too long.  I can't seem to do it.

I thought increasing the height would do it, but the title text seems to be fixed on a single line.

Can this be modified?  Possibly in the css file?

11/07/2008
02:25
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

For the first one there this will not work, since jqGrid get the content of the cell, but if the cell has childs there is no way to recodnize wich one has the desired data.

For the second question you can manipulate this via css.

But I recomend you to wait for the final 3.2 which will solve the booth

problems. Currently we work hard on documentation.

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.

16/07/2008
16:24
Avatar
son122
Member
Members
Forum Posts: 32
Member Since:
07/07/2008
sp_UserOfflineSmall Offline

Thanks Tony,

I upgraded to final 3.2, and both problems are a thing of the past now.

It must be new in this version, but the rows don't alternate background color anymore by default?  Nor can I set -

altRows: true

It doesn't alternate row background.

17/07/2008
01:31
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Thank you I will check what is going here!

Is this only for the default theme? In wich situation is this - xml, json or clientSide data?

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.

17/07/2008
10:13
Avatar
son122
Member
Members
Forum Posts: 32
Member Since:
07/07/2008
sp_UserOfflineSmall Offline

I'm using xml,

I'm using all of the default themes, none of them alternate.  I switched back to 3.1, and it does.

17/07/2008
10:17
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Is this on FireFox or IE?

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.

17/07/2008
10:23
Avatar
son122
Member
Members
Forum Posts: 32
Member Since:
07/07/2008
sp_UserOfflineSmall Offline

Doesn't seem to matter which browser, I'm afraid.

17/07/2008
10:27
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Just to a sure that this is the problem, could you please test with

datatype: 'clientSide'

Thank you

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.

17/07/2008
13:18
Avatar
son122
Member
Members
Forum Posts: 32
Member Since:
07/07/2008
sp_UserOfflineSmall Offline

Yeah, the clientSide alternates row colors.

XML doesn't.

17/07/2008
13:46
Avatar
son122
Member
Members
Forum Posts: 32
Member Since:
07/07/2008
sp_UserOfflineSmall Offline

Tony,

I went and checked the examples here too.

If you go to Loading Data/XML Data and use the coffee theme, you'll clearly see that the rows don't alternate background color.  Any other datatype, and it does.

18/07/2008
03:34
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Thank you. Will be fixed.

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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