summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Leibman <michael.leibman@gmail.com>2013-10-13 09:57:52 -0700
committerMichael Leibman <michael.leibman@gmail.com>2013-10-13 09:57:52 -0700
commitaf4d20dcc5013d047e2be8fc194f034df2c61e2c (patch)
tree406ed2aa2b75e02145952d1f86563bb0634ebb61
parent058999aa2097126cbccd4448ca404f95ea2f2261 (diff)
parent299959e462570f5533f197ad84e10ebb3824dce3 (diff)
downloadSlickGrid-af4d20dcc5013d047e2be8fc194f034df2c61e2c.zip
SlickGrid-af4d20dcc5013d047e2be8fc194f034df2c61e2c.tar.gz
SlickGrid-af4d20dcc5013d047e2be8fc194f034df2c61e2c.tar.bz2
Merge pull request #781 from tobya/ghpages-GHLink
Link to Github Source from examples
-rw-r--r--examples/example-autotooltips.html5
-rw-r--r--examples/example-checkbox-row-select.html5
-rw-r--r--examples/example-colspan.html4
-rw-r--r--examples/example-composite-editor-item-details.html5
-rw-r--r--examples/example-custom-column-value-extractor.html4
-rw-r--r--examples/example-explicit-initialization.html4
-rw-r--r--examples/example-grouping.html4
-rw-r--r--examples/example-header-row.html4
-rw-r--r--examples/example-multi-column-sort.html4
-rw-r--r--examples/example-optimizing-dataview.html4
-rw-r--r--examples/example-plugin-headerbuttons.html4
-rw-r--r--examples/example-plugin-headermenu.html4
-rw-r--r--examples/example-spreadsheet.html4
-rw-r--r--examples/example-totals-via-data-provider.html4
-rw-r--r--examples/example1-simple.html4
-rw-r--r--examples/example10-async-post-render.html4
-rw-r--r--examples/example11-autoheight.html4
-rw-r--r--examples/example12-fillbrowser.html4
-rw-r--r--examples/example13-getItem-sorting.html4
-rw-r--r--examples/example14-highlighting.html4
-rw-r--r--examples/example2-formatters.html4
-rw-r--r--examples/example3-editing.html4
-rw-r--r--examples/example3a-compound-editors.html6
-rw-r--r--examples/example3b-editing-with-undo.html4
-rw-r--r--examples/example4-model.html5
-rw-r--r--examples/example5-collapsing.html5
-rw-r--r--examples/example6-ajax-loading.html5
-rw-r--r--examples/example7-events.html4
-rw-r--r--examples/example8-alternative-display.html5
-rw-r--r--examples/example9-row-reordering.html4
30 files changed, 129 insertions, 0 deletions
diff --git a/examples/example-autotooltips.html b/examples/example-autotooltips.html
index 6e83d93..cdad548 100644
--- a/examples/example-autotooltips.html
+++ b/examples/example-autotooltips.html
@@ -24,6 +24,11 @@
<pre style="background-color: white; font-size: 110%; border-radius: 5px; padding: 20px; ">plugin = new Slick.AutoTooltips(pluginOptions);
grid.registerPlugin(plugin);
grid.render();</pre>
+
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-autotooltips.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example-checkbox-row-select.html b/examples/example-checkbox-row-select.html
index 877c244..4ad6e9b 100644
--- a/examples/example-checkbox-row-select.html
+++ b/examples/example-checkbox-row-select.html
@@ -25,6 +25,11 @@
<ul>
<li>Checkbox row select column</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-checkbox-row-select.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
+
</div>
</div>
diff --git a/examples/example-colspan.html b/examples/example-colspan.html
index 2448a84..b590815 100644
--- a/examples/example-colspan.html
+++ b/examples/example-colspan.html
@@ -16,6 +16,10 @@
<ul>
<li>column span</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-colspan.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example-composite-editor-item-details.html b/examples/example-composite-editor-item-details.html
index b30067e..22023da 100644
--- a/examples/example-composite-editor-item-details.html
+++ b/examples/example-composite-editor-item-details.html
@@ -70,6 +70,11 @@
<h2>Options:</h2>
<button onclick="openDetails()">Open Item Edit for active row</button>
+
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-composite-editor-item-details.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example-custom-column-value-extractor.html b/examples/example-custom-column-value-extractor.html
index 1600a87..fbab6fa 100644
--- a/examples/example-custom-column-value-extractor.html
+++ b/examples/example-custom-column-value-extractor.html
@@ -18,6 +18,10 @@
<ul>
<li>using <u>dataItemColumnValueExtractor</u> option to specify a custom column value extractor</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-custom-column-value-extractor.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example-explicit-initialization.html b/examples/example-explicit-initialization.html
index b437c86..8c881b1 100644
--- a/examples/example-explicit-initialization.html
+++ b/examples/example-explicit-initialization.html
@@ -25,6 +25,10 @@
This example demonstrates creating a SlickGrid inside a detached element and calling <b>init()</b> explicitly
when the element is added to the DOM.
</p>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-explicit-initialization.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example-grouping.html b/examples/example-grouping.html
index 4248ad6..86bbd4a 100644
--- a/examples/example-grouping.html
+++ b/examples/example-grouping.html
@@ -80,6 +80,10 @@
Personally, this is just the coolest slickest thing I've ever seen done with DHTML grids!
</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-grouping.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example-header-row.html b/examples/example-header-row.html
index 15a3a9c..1d0110c 100644
--- a/examples/example-header-row.html
+++ b/examples/example-header-row.html
@@ -35,6 +35,10 @@
<li>Using a fixed header row to implement column-level filters</li>
<li>Type numbers in textboxes to filter grid data</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-header-row.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example-multi-column-sort.html b/examples/example-multi-column-sort.html
index 9c47bc4..6edc003 100644
--- a/examples/example-multi-column-sort.html
+++ b/examples/example-multi-column-sort.html
@@ -18,6 +18,10 @@
<ul>
<li>basic grid with multi-column sort option</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-multi-column-sort.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example-optimizing-dataview.html b/examples/example-optimizing-dataview.html
index 220b365..31b3cf7 100644
--- a/examples/example-optimizing-dataview.html
+++ b/examples/example-optimizing-dataview.html
@@ -61,6 +61,10 @@
<li>Providing a range of rows for which onRowsChanged even should be fired.</li>
</ul>
</p>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-optimizing-dataview.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example-plugin-headerbuttons.html b/examples/example-plugin-headerbuttons.html
index 86516d7..15f9598 100644
--- a/examples/example-plugin-headerbuttons.html
+++ b/examples/example-plugin-headerbuttons.html
@@ -31,6 +31,10 @@
This example demonstrates using the <b>Slick.Plugins.HeaderButtons</b> plugin to easily add buttons to column
headers. These buttons can be specified directly in the column definition, and are very easy to configure and use.
</p>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-plugin-headerbuttons.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example-plugin-headermenu.html b/examples/example-plugin-headermenu.html
index 862c471..341c997 100644
--- a/examples/example-plugin-headermenu.html
+++ b/examples/example-plugin-headermenu.html
@@ -54,6 +54,10 @@
This example demonstrates using the <b>Slick.Plugins.HeaderMenu</b> plugin to add drop-down menus to column
headers. (Hover over the headers.)
</p>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-plugin-headermenu.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example-spreadsheet.html b/examples/example-spreadsheet.html
index 7d5af92..0eadeaa 100644
--- a/examples/example-spreadsheet.html
+++ b/examples/example-spreadsheet.html
@@ -29,6 +29,10 @@
<li>Use Esc to cancel a copy and paste operation</li>
<li>Edit the cell and select a cell range to paste the range</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-spreadsheet.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example-totals-via-data-provider.html b/examples/example-totals-via-data-provider.html
index ad04d9c..626092f 100644
--- a/examples/example-totals-via-data-provider.html
+++ b/examples/example-totals-via-data-provider.html
@@ -25,6 +25,10 @@
<li>This is a simplification of what the DataView does. </li>
</ul>
</div>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example-totals-via-data-provider.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
<script src="../lib/firebugx.js"></script>
diff --git a/examples/example1-simple.html b/examples/example1-simple.html
index de0bc6c..5c50a9e 100644
--- a/examples/example1-simple.html
+++ b/examples/example1-simple.html
@@ -18,6 +18,10 @@
<ul>
<li>basic grid with minimal configuration</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example1-simple.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example10-async-post-render.html b/examples/example10-async-post-render.html
index 0f6d9d6..9f911b5 100644
--- a/examples/example10-async-post-render.html
+++ b/examples/example10-async-post-render.html
@@ -52,6 +52,10 @@
The graphs themselves are created using the excellent <a href="http://www.omnipotent.net/jquery.sparkline/"
target="_blank">jQuery Sparklines</a> library.
</p>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example10-async-post-render.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
<script src="../lib/firebugx.js"></script>
diff --git a/examples/example11-autoheight.html b/examples/example11-autoheight.html
index d2a70bf..a777a03 100644
--- a/examples/example11-autoheight.html
+++ b/examples/example11-autoheight.html
@@ -39,6 +39,10 @@
<ul>
<li>autoHeight:true grid option</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example11-autoheight.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
<script src="../lib/jquery-1.7.min.js"></script>
diff --git a/examples/example12-fillbrowser.html b/examples/example12-fillbrowser.html
index f173d12..0f9ff20 100644
--- a/examples/example12-fillbrowser.html
+++ b/examples/example12-fillbrowser.html
@@ -50,6 +50,10 @@
<li>Grid resizing when browser window changes size</li>
<li>Overall performance of the grid when displaying large tabular data (17 columns x 10,000 rows)</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example12-fillbrowser.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
<script src="../lib/jquery-1.7.min.js"></script>
diff --git a/examples/example13-getItem-sorting.html b/examples/example13-getItem-sorting.html
index 121a736..b971e93 100644
--- a/examples/example13-getItem-sorting.html
+++ b/examples/example13-getItem-sorting.html
@@ -49,6 +49,10 @@
<li>Sorting grid items by an index</li>
<li>Using the getItem method to provide data</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example13-getItem-sorting.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
<script src="../lib/jquery-1.7.min.js"></script>
diff --git a/examples/example14-highlighting.html b/examples/example14-highlighting.html
index 36cd87e..e85e947 100644
--- a/examples/example14-highlighting.html
+++ b/examples/example14-highlighting.html
@@ -47,6 +47,10 @@
<h2>Controls</h2>
<button onclick="simulateRealTimeUpdates()">Start simulation</button>
<button onclick="findCurrentServer()">Find current server</button>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example14-highlighting.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example2-formatters.html b/examples/example2-formatters.html
index 674a95f..d89be12 100644
--- a/examples/example2-formatters.html
+++ b/examples/example2-formatters.html
@@ -31,6 +31,10 @@
<li>width, minWidth, maxWidth, resizable, cssClass column attributes</li>
<li>custom column formatters</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example2-formatters.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example3-editing.html b/examples/example3-editing.html
index 2639c07..a990f0a 100644
--- a/examples/example3-editing.html
+++ b/examples/example3-editing.html
@@ -34,6 +34,10 @@
<button onclick="grid.setOptions({autoEdit:true})">Auto-edit ON</button>
&nbsp;
<button onclick="grid.setOptions({autoEdit:false})">Auto-edit OFF</button>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example3-editing.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example3a-compound-editors.html b/examples/example3a-compound-editors.html
index b8f13ef..a617065 100644
--- a/examples/example3a-compound-editors.html
+++ b/examples/example3a-compound-editors.html
@@ -26,6 +26,12 @@
<li>providing validation from the editor</li>
<li>hooking into validation events</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example3a-compound-editors.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
+
+
</div>
</div>
diff --git a/examples/example3b-editing-with-undo.html b/examples/example3b-editing-with-undo.html
index f270620..c8182e9 100644
--- a/examples/example3b-editing-with-undo.html
+++ b/examples/example3b-editing-with-undo.html
@@ -30,6 +30,10 @@
<h2>Controls:</h2>
<button onclick="undo()"><img src="../images/arrow_undo.png" align="absmiddle"> Undo</button>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example3b-editing-with-undo.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
diff --git a/examples/example4-model.html b/examples/example4-model.html
index da47684..ea72771 100644
--- a/examples/example4-model.html
+++ b/examples/example4-model.html
@@ -77,6 +77,11 @@
<li>Paging.</li>
<li>inline filter panel</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example4-model.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
+
</div>
</div>
</div>
diff --git a/examples/example5-collapsing.html b/examples/example5-collapsing.html
index babbcd7..9524f58 100644
--- a/examples/example5-collapsing.html
+++ b/examples/example5-collapsing.html
@@ -54,6 +54,11 @@
<ul>
<li>implementing expand/collapse as a filter for DataView</li>
</ul>
+
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example5-collapsing.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example6-ajax-loading.html b/examples/example6-ajax-loading.html
index d461cfb..749919c 100644
--- a/examples/example6-ajax-loading.html
+++ b/examples/example6-ajax-loading.html
@@ -58,6 +58,11 @@
<li>API access to Hackernews provided through ThriftDB has some latency when paging through results. Be patient.
</li>
</ul>
+
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example6-ajax-loading.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
<script src="../lib/firebugx.js"></script>
diff --git a/examples/example7-events.html b/examples/example7-events.html
index 6ed15da..a8b0b4c 100644
--- a/examples/example7-events.html
+++ b/examples/example7-events.html
@@ -47,6 +47,10 @@
<li>Right-click the row to open the context menu</li>
<li>Click the priority cell to toggle values</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example7-events.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</td>
</tr>
</table>
diff --git a/examples/example8-alternative-display.html b/examples/example8-alternative-display.html
index 953dfcf..fdba4f9 100644
--- a/examples/example8-alternative-display.html
+++ b/examples/example8-alternative-display.html
@@ -73,6 +73,11 @@
SlickGrid's virtual rendering technology.
</li>
</ul>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example8-alternative-display.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
+
</td>
</tr>
</table>
diff --git a/examples/example9-row-reordering.html b/examples/example9-row-reordering.html
index e41fc65..672dac3 100644
--- a/examples/example9-row-reordering.html
+++ b/examples/example9-row-reordering.html
@@ -72,6 +72,10 @@
<div id="dropzone" class="recycle-bin">
Recycle Bin
</div>
+ <h2>View Source:</h2>
+ <ul>
+ <li><A href="https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example9-row-reordering.html" target="_sourcewindow"> View the source for this example on Github</a></li>
+ </ul>
</div>
</div>
</div>