jQWidgets Forums

jQuery UI Widgets Forums Grid Grid highlight re-uses scrollbar highlight class

This topic contains 2 replies, has 2 voices, and was last updated by  pguz 11 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • pguz
    Participant

    Hi,

    The grid uses .jqx-fill-state-pressed as the row highlight CSS class. This is also the same class used to highlight the scroll bars. As I have changed the row highlight appearance, this has had an unsightly effect on my grids.

    May I suggest that the row highlighting use a different class in future? In my case, it looks ugly as I am using a background image to highlight the row which becomes tiled in the vertical scrollbar.

    To mitigate against this, I had to alter the .jqx-scrollbar-thumb-state-pressed and .jqx-scrollbar-thumb-state-pressed-horizontal classes to force a different background on the scrollbars when pressed.

    Regards,

    Paul


    Peter Stoev
    Keymaster

    Hi Paul,

    Thanks, but we have common CSS classes used among all widgets and we do not plan any changes about that in the future. Each widget has specific CSS classes applied so if you want to style only specific element, you can do it without a problem.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/


    pguz
    Participant

    Hi Peter,

    You say that each widget has specific CSS classes applied, but my point here is that the grid and scrollbar are sharing a class for different purposes. I can understand that it may be desirable to have the same class for highlighting across all widgets, but I don’t think it’s appropriate in this case.

    Paul

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.