I have a data grid where I am displaying my messages. In that if the messages are unread it should display in different CSS for i.e. the text should be bold. Is there any way to do that in JqGrid.
Please help I am new to jqGrid.
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
After the data of jqGrid are filled (for example infide of
loadCompleteevent or any time later) you can usesetRowDatato change the data or CSS on a particular row (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods for the detailed description). If you want only change a row CSS without changing the data placenullas the second parameter.If you want know all ids from the grid you can use
getDataIDsmethod. To examine data from jqGrid you can usegetRowDataorgetCell.