I need to hide secondary row till user toggles it to show. In this case i have some trouble with "odd-even" classes: When all secondary rows are hidden i have all rows with single css-class (odd).

Any solutions?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

holdmann’s picture

FileSize
136.39 KB

Forget first file :(

johnv’s picture

Status: Needs work » Needs review
FileSize
722 bytes

@holdmann, maybe you can share forces with rolando.alevelbeyond from this issue and publish the toggle-code . He tries to do the same thing.

Is the attached patch what you need? I am not sure it is legitimate..

holdmann’s picture

Hi!

There is my patch I've recreated after night release.
It solves my problem.

holdmann’s picture

holdmann’s picture

Component: User interface » Code
Category: feature » task
johnv’s picture

Title: Duplicate row classes for secondary row » Have same odd/even class for both first and secondary row
Issue summary: View changes

IMO that should always be the case.

  • johnv committed 374f3c6 on 7.x-1.x authored by holdmann
    Issue #1735228 by holdmann, johnv: Have same odd/even class for both...
johnv’s picture

Adjacent one-line does just that in all cases.

johnv’s picture

Version: 7.x-1.x-dev » 7.x-3.6
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.