Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4443112 By: khanman
i came up with a manual workaround for this problem: For each row i generated a script as (depending on the condition): <script> classArray[classArray.length] = "grid"; //classArray is a defined some place as var classArray = new Array(); </script> Thus storing the style class for each row. Then on body onload() you can call the following method, that simply applies the class from the array to each row, (or to individual columns on table) function setColumnClass(){ var tb = document.getElementById('recordsTable'); var cols; if(tb && tb.rows && tb.rows.length){ for(i = 1 ; i < tb.rows.length ; i++){ tb.rows[i].className = classArray[i - 1]; } } You may add futher checks to optimize the code above. Hope this helps. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=249318 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user