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
Adhikar Patil
NA
481
128.3k
How to apply css for specific column of that rows in jqgrid
Jan 27 2019 12:38 AM
Hello,
Please tell me i have an jqgrid which shows data but based on condition i want to apply css for that specific column of that rows in jqgrid.
here is my code in gridComplete i have wrriten following code
var ids = $(this).jqGrid("getDataIDs"), l = ids.length, i, rowid, status;
for (i = 0; i < l; i++) {
rowid = ids[i];
ParentElementNo = $(this).jqGrid("getCell", rowid, "ParentElementNo");
if (ParentElementNo === "0")
{
$('#ElementsGrid').jqGrid('setRowData', rowid, false, { color: 'blue', weightfont: 'bold', align: 'right' });
}
else
{
// Here i want to apply css for specific column of that rows in jqgrid
}
Please tell me how to apply css for specific column of that rows in jqgrid .
Reply
Answers (
1
)
How to Give Color to jqgrid row Based on Conditions
How to set required attribute on checked event in jqgrid