Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #729 (closed enhancement: fixed)

Opened 11 years ago

Last modified 10 years ago

[PATCH] DataGrid grid.css globally sets css classes instead of constrianing them

Reported by: mark@… Owned by: anonymous
Priority: normal Milestone:
Component: TG Widgets Version: 0.9a4
Severity: trivial Keywords:
Cc:

Description

The DataGrid widget globally sets several CSS classes that have interaction issues with other widgets (TableForm? for example).

If used together, TableForm? gets alternating row highlighting accidentally, even if the developer doesn't want this.

The fix is to constrain the grid.css so that it only does this to tables that have a class of "grid"

a patch to turbogears/widgets/static/grid.css follows:

Attachments

grid.css.patch Download (1.3 KB) - added by anonymous 11 years ago.

Change History

Changed 11 years ago by anonymous

comment:1 Changed 11 years ago by anonymous

  • Type changed from defect to enhancement

comment:2 Changed 11 years ago by godoy

  • Summary changed from DataGrid grid.css globally sets css classes instead of constrianing them to [PATCH] DataGrid grid.css globally sets css classes instead of constrianing them

Just adding 'PATCH' to the subject, to make it clearer and easier on developers.

comment:3 Changed 11 years ago by michele

  • Status changed from new to closed
  • Resolution set to fixed

Committed at r1104. Thanks Mark!

Note: See TracTickets for help on using tickets.