Opened 11 years ago

Closed 11 years ago

#7377 closed enhancement (fixed)

Grid view style parameters do not work without trailing semi-colon

Reported by: Josh Trutwin Owned by: Bryan Forbes
Priority: low Milestone: 1.2
Component: DojoX Grid Version: 1.1.1
Keywords: grid css style semi-colon Cc: josh@…
Blocked By: Blocking:

Description

I'm not sure if this has been addressed in the 1.2 grid overhaul, but this seems like it could be handled internally to avoid painful head-scratching.

If you put this in your view:

cellStyles: "font-size: 9px"

The style won't be applied because requires trailing semi-colon:

cellStyles: "font-size: 9px;"

Not sure if easy to detect absence of missing semi-colon and add it on? Or would this violate a CSS standard? At the very least would be nice to have note in documentation that styles fail without trailing semi-colon. Thanks!

Change History (2)

comment:1 Changed 11 years ago by Bryan Forbes

Milestone: tbd1.2

comment:2 Changed 11 years ago by Bryan Forbes

Resolution: fixed
Status: newclosed

(In [15007]) fixes #7377 !strict

  • Append a trailing semicolon to cell styles if needed.
Note: See TracTickets for help on using tickets.