diff options
author | Michael Leibman <michael.leibman@gmail.com> | 2012-01-17 13:51:10 -0800 |
---|---|---|
committer | Michael Leibman <mleibman@google.com> | 2012-01-17 13:51:10 -0800 |
commit | b92ba76a5124d09880455fef5a488c2bab2aee9e (patch) | |
tree | 6b9de1fb8f2b915450b1bbadf6d1b28df6220c88 /examples/example-header-row.html | |
parent | 061ac59fb6a4c09a49d5abe1fa86c26f9d13bf66 (diff) | |
download | SlickGrid-b92ba76a5124d09880455fef5a488c2bab2aee9e.zip SlickGrid-b92ba76a5124d09880455fef5a488c2bab2aee9e.tar.gz SlickGrid-b92ba76a5124d09880455fef5a488c2bab2aee9e.tar.bz2 |
More cleanup.
Diffstat (limited to 'examples/example-header-row.html')
-rw-r--r-- | examples/example-header-row.html | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/examples/example-header-row.html b/examples/example-header-row.html index ba3532a..400a9d7 100644 --- a/examples/example-header-row.html +++ b/examples/example-header-row.html @@ -2,9 +2,9 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <link rel="stylesheet" href="../css/smoothness/jquery-ui-1.8.16.custom.css" type="text/css" /> - <link rel="stylesheet" href="../slick.grid.css" type="text/css" /> - <link rel="stylesheet" href="examples.css" type="text/css" /> + <link rel="stylesheet" href="../css/smoothness/jquery-ui-1.8.16.custom.css" type="text/css"/> + <link rel="stylesheet" href="../slick.grid.css" type="text/css"/> + <link rel="stylesheet" href="examples.css" type="text/css"/> <style> .slick-headerrow-column { background: #87ceeb; @@ -46,18 +46,18 @@ var grid; var data = []; var options = { - enableCellNavigation:true, - showHeaderRow:true + enableCellNavigation: true, + showHeaderRow: true }; var columns = []; var columnFilters = {}; for (var i = 0; i < 10; i++) { columns.push({ - id:i, - name:String.fromCharCode("A".charCodeAt(0) + i), - field:i, - width:60 + id: i, + name: String.fromCharCode("A".charCodeAt(0) + i), + field: i, + width: 60 }); } @@ -68,10 +68,10 @@ var header = grid.getHeaderRowColumn(columns[i].id); $(header).empty(); $("<input type='text'>") - .data("columnId", columns[i].id) - .width($(header).width() - 4) - .val(columnFilters[columns[i].id]) - .appendTo(header); + .data("columnId", columns[i].id) + .width($(header).width() - 4) + .val(columnFilters[columns[i].id]) + .appendTo(header); } } } @@ -131,7 +131,6 @@ dataView.endUpdate(); updateHeaderRow(); - }) </script> </body> |