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
Ramco Ramco
443
3.4k
526.8k
pointer-events: none not working
Jun 4 2021 4:33 AM
Hi
I have below code but it is not disabling Delete button
{
"data": "Id", "render": function (data, type, row) {
if (row.IsActive == 'N') {
return "<a href='#' class='btn btn-primary btn-sm' data-Id=" + data + " id='btnEdit'><i class='fa fa-pencil'></i> Edit</a> <a class='btn btn-danger btn-sm' data-Id=" + data + " id='btnDelete' style='margin-left:5px pointer-events: none ' href='#' ><i class='fa fa-trash'></i> Delete</a>";
}
else {
return "<a href='#' class='btn btn-primary btn-sm' data-Id=" + data + " id='btnEdit'><i class='fa fa-pencil'></i> Edit</a> <a class='btn btn-danger btn-sm' data-Id=" + data + " id='btnDelete' style='margin-left:5px' href='#' ><i class='fa fa-trash'></i> Delete</a>";
}
}
}
Thanks
Reply
Answers (
1
)
login with mobile number in core API
Connection String