TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mandar Shinde
NA
423
115.1k
How to highlight last record/row of a table
Apr 5 2019 6:49 AM
I am trying to highlight last record/row of table with his id in angular 6. what i am doing is-
I am retriving some records from a database and showing in dynamic table.i want to highlight last row of that table and want to call click event of that highlighted row to show some for that row id but its not working.Any help will be appericiated.
<tr *ngFor="let item of items1 ; let i = index"
(show) ="Highlighted(item,item.ID)" (click)="GetData(item,item.ID)"
[ngClass]="{'highlight' : item.AppDateTime == selectedName}" id="cursor">
Reply
Answers (
2
)
Html panel is not responsive in .net
On click another row of a table is getting highlighted