velraj
Novice

Highlight particular List view row using Jquery

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.

0 Kudos
Reply
2 Replies
Sunrise
Apprentice

Re: Highlight particular List view row using Jquery

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/8512....


 


Best,


Sunrise

0 Kudos
Reply
ParasharTarun
Novice

Re: Highlight particular List view row using Jquery

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

0 Kudos
Reply