Author Topic: Set color and background-color of selected row  (Read 3053 times)

raffoschi

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 15
    • View Profile
Set color and background-color of selected row
« on: April 12, 2016, 04:57:07 pm »
Hi,

I need a way to change color and background color of selected row; I think I need to change some css class but I don't know what to change and in the forum I couldn't find what I need.

Thanks for help.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Set color and background-color of selected row
« Reply #1 on: April 13, 2016, 10:02:15 am »
Use this css rule:

Code: [Select]
.pq-grid .pq-grid-row.ui-state-highlight{
  background:red;
  color:yellow;
}

http://jsfiddle.net/640p66c5/1/

raffoschi

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Set color and background-color of selected row
« Reply #2 on: April 13, 2016, 04:48:23 pm »
Perfect.

Thank you