Home › Forums › Guriddo jqGrid JS › Discussion › Painting row
Hello. I need to paint row. Is there method to do it? or i must to use
thank you.
Hello,
What you mean with paint? Be a more specific.
Regards
Tony
I want to set any background color for any row.
Thank you.
If you know the id of the row you can:
$(“#rowid”,”#mygrid”).css({….put here the desired background })
Ok. It really works. But TD has own background color… can I kill it?
works.
jQuery('td','#' + rowid).css('background-color','rgb(175, 238, 238)');
What about:
jQuery('td','#' + rowid).css('background-color','rgb(175, 238, 238)').css(“background-image”,”none”);
Das ist phantastisch
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS