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
custom css/style to header cells?
20/05/2011
18:40
Avatar
jakemonO
Member
Members
Forum Posts: 16
Member Since:
20/08/2010
sp_UserOfflineSmall Offline

Is there a way for me to add custom CSS to a grid header cell? Ideally I'm looking for a propery to set in the column model definition, much like the 'classes' property works for the DATA columns. I'd also prefer to have it set on render rather than procedurally changing the CSS after the grid loads. My goal is to have some of the columns' titles rotated 90 degrees to save space and rotating the labels after the grid loads will cause the screen to have a weird jitter (I suppose I could hide the whole table behind a layer until its done, but still...)

Any help/suggestions appreciated.

22/05/2011
15:06
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

You can find on the demo which I created for the answer on the stackoverflow.com. It shows how to rotate the column headers:

Image Enlarger

Best regards
Oleg

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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