Skip to content

Instantly share code, notes, and snippets.

@clinuz
Created June 17, 2011 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clinuz/1030736 to your computer and use it in GitHub Desktop.
Save clinuz/1030736 to your computer and use it in GitHub Desktop.
From 103f61481ca1b4d67ccf
context.push(
'<div id="header" style="position: absolute; top:0px; height:32px; left:0px; right:15px; overflow:hidden; background-color:#F8F8F8;">',
'<div style="display:table; width:100%;">',
'<div style="display:table-header-group;">',
'<div style="display:table-row;">'
);
for (idx=0, len=columns.get('length'); idx<len; ++idx) {
col = columns.objectAt(idx);
context.push(
'<span class="dashboard-header ', col.get('classNames') || '', '">',
col.get('title'),
'</span>');
}
context.push(
'</div>',
'</div>',
'</div>',
'</div>',
'<div id="%@"'.fmt(this.get('scrollerId')), ' class="scrollbars borders">',
'<div class="dashboard-table">',
'<div class="dashboard-row-group">'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment