jQuery UI Widgets Forums Grid Change style for one grid

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 3 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Change style for one grid #112222

    arkgroup
    Participant

    I have 4 grids on my page. I need to change style just for one. I can use css .jqx-grid-cell to change style, but that will change style for all 4 grids. Is there a way to change style (font size) just for one grid without using cellclassname for every column?

    Thanks

    Change style for one grid #112228

    Martin
    Participant

    Hello arkgroup,

    The easiest way would be to combine the css selector with the grid id.
    For example:

    #grid1 .jqx-grid-cell {
       font-size: 20px;
    }

    Best Regards,
    Martin Yotov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.