Author Topic: Change Border Color of Specific Row  (Read 5369 times)

sidads

  • Newbie
  • *
  • Posts: 11
    • View Profile
Change Border Color of Specific Row
« on: November 20, 2013, 03:51:23 pm »

Hello Experts,

How do I change the border color of specific row, I tried using the getRow to get the row object but couldn't find the class that is being used to set the border color of row.

please advise how to achieve it.

Regards,
Sidads

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Change Border Color of Specific Row
« Reply #1 on: November 21, 2013, 11:25:39 am »
Did you try outline. (you may also add it in a class)

Code: [Select]
$tr.css("outline", "1px solid black");

sidads

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Change Border Color of Specific Row
« Reply #2 on: December 10, 2013, 06:35:04 pm »
Did you try outline. (you may also add it in a class)

Code: [Select]
$tr.css("outline", "1px solid black");

Thank you, the above technique works but when I scroll the css resets back. Please advise how to fix this.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Change Border Color of Specific Row
« Reply #3 on: December 11, 2013, 12:08:41 am »
Apply css in the refresh event.

http://paramquery.com/api#event-refresh