Menu

#1269 (ok 3.4) Column highlight in table view

fixed
1
2013-06-11
2010-11-18
Jim Mead
No

Is it possible to allow columns to be highlighted when clicking on column headings, in a similar way to how rows are currently highlighted?
This would be handy where there are multiple columns of numbers, bits or enums with the same values, next to each other and you are only interested in one of them.

For example, we have a table with five Enum Yes/No columns next to each other and I may just be interested in one or two of them, as it is currently, it can be easy to lose track of which column you need to be looking at when flipping between your code and the database, which means scrolling back up to the column headings to find the right columns again.

I have seen examples of this working with mouseover and mouseout, so it should be possible to change this to an onclick event instead
This seems to be a good way of doing it, it does however require JQuery: http://css-tricks.com/row-and-column-highlighting/

Thanks
Jim

Discussion

  • Marc Delisle

    Marc Delisle - 2010-11-18

    Currently, clicking on a row marks it (with default theme, in orange) while hovering highlights in green. Are you interested with the marking effect or the highlighting? If it's marking, a click on the heading (but not on the heading text!) could mark the row.

    In the development version (future 3.4) we are using jQuery.

     
  • Jim Mead

    Jim Mead - 2010-11-18

    It is more the clicking to highlight (in orange) that I would be interested in, though I can see no harm in adding the (green) mouseover, unless of course it causes a slowdown when moving the mouse on long result sets.

    When clicking on the heading to highlight, you just need to make sure that there is a space to click without accidentally clicking on the link.

     
  • Marc Delisle

    Marc Delisle - 2010-11-18
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2010-11-18
    • priority: 5 --> 1
    • summary: Column highlight in table view --> (ok 3.4) Column highlight in table view
    • status: open --> open-accepted
     
  • Marc Delisle

    Marc Delisle - 2010-11-18

    Implemented for 3.4, thanks for suggesting.

     
  • Jim Mead

    Jim Mead - 2010-11-19

    Thanks Marc

     
  • Michal Čihař

    Michal Čihař - 2011-05-11
    • status: open-accepted --> closed-accepted
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-accepted --> fixed