Highlight particular List view row using Jquery

  • 23 January 2020
  • 2 replies
  • 72 views

Can we hightlight the list view rows through jquery,Idea is to pass the row number based on the rownumber wanted to highlight the row using Jquery.Please help.


2 replies

Hi velraj


 


Please try the following.


“How to select a row in a list view”: https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/How-to-select-a-row-in-a-list-view/td-p/100261,


“For Each Loop of Rows in a List View”: https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/For-Each-Loop-of-Rows-in-a-List-View/td-p/85122.


 


Best,


Sunrise

Hi  @velraj ,

 

You should be abe to work this out by setting class of the row you want to highlight, as "highlighted selected".

Generally, in list views with no multi select option ticked, this is the class applied to highlighted rows in K2.

 

Hope this help

Reply