Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding additional CSS classes to make it easier to style the sorted f…

…ooter. These use the same naming conventions YUI uses on headers.
  • Loading branch information...
commit 090a48ab4b415388226281b6cc3488323655119f 1 parent aaae6aa
@peckrob peckrob authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 YAHOO_DataTable_colStats.js
View
6 YAHOO_DataTable_colStats.js
@@ -385,6 +385,12 @@ YAHOO.extend( lpltTable, YAHOO.widget.DataTable, {
for (i = 0; i < cols.length; i=i+1) {
td = document.createElement('td');
Dom.addClass(td, "yui-dt-colstat");
+ Dom.addClass(td, "yui-dt-col-" + cols[i].field);
+
+ if(cols[i].className !== undefined) {
+ Dom.addClass(td, cols[i].className);
+ }
+
// Keep hidden columns hidden:
if (cols[i].hidden === true) {
Dom.addClass(td, "yui-dt-hidden");
Please sign in to comment.
Something went wrong with that request. Please try again.