diff options
author | Michael Leibman <michael.leibman@gmail.com> | 2012-07-06 13:52:44 -0700 |
---|---|---|
committer | mleibman <michael.leibman@gmail.com> | 2012-07-06 13:52:44 -0700 |
commit | e4f25cbb63722475618f019b92d26aa935a0e1ad (patch) | |
tree | 4c5b07bd9b7793b39b9e704216cdfa4bacc39a6e /examples/example-spreadsheet.html | |
parent | 5b42d6bda060d72ec0c10d1ecdd10d87d6f92f4b (diff) | |
download | SlickGrid-e4f25cbb63722475618f019b92d26aa935a0e1ad.zip SlickGrid-e4f25cbb63722475618f019b92d26aa935a0e1ad.tar.gz SlickGrid-e4f25cbb63722475618f019b92d26aa935a0e1ad.tar.bz2 |
SlickGrid v2.1 - Implement virtual rendering for columns.
Diffstat (limited to 'examples/example-spreadsheet.html')
-rw-r--r-- | examples/example-spreadsheet.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/example-spreadsheet.html b/examples/example-spreadsheet.html index 3b780c0..9fe7214 100644 --- a/examples/example-spreadsheet.html +++ b/examples/example-spreadsheet.html @@ -23,6 +23,7 @@ <div class="options-panel"> <h2>Demonstrates:</h2> <ul> + <li>Virtual scrolling on both rows and columns.</li> <li>Select a range of cells with a mouse</li> <li>Use Ctrl-C and Ctrl-V keyboard shortcuts to cut and paste cells</li> <li>Use Esc to cancel a copy and paste operation</li> @@ -66,10 +67,11 @@ } ]; - for (var i = 0; i < 26; i++) { + for (var i = 0; i < 100; i++) { columns.push({ id: i, - name: String.fromCharCode("A".charCodeAt(0) + i), + name: String.fromCharCode("A".charCodeAt(0) + (i / 26) | 0) + + String.fromCharCode("A".charCodeAt(0) + (i % 26)), field: i, width: 60, editor: FormulaEditor |