-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #374 from openfin/develop
Merge to master 1.2.1
- Loading branch information
Showing
23 changed files
with
206 additions
and
476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Hypergrid Computed Values Demo</title> | ||
<script src="build/fin-hypergrid.js"></script> | ||
<script src="build/add-ons/hyper-filter.js"></script> | ||
<script src="build/add-ons/hyper-sorter.js"></script> | ||
<script src="js/computed-column.js"></script> | ||
|
||
<script src="http://joneit.github.io/datasaur-indexed/build/datasaur-indexed.js"></script> | ||
<script src="http://joneit.github.io/datasaur-filter/build/datasaur-filter.js"></script> | ||
|
||
<style> | ||
th, td { | ||
width: 50%; | ||
padding: .65em; | ||
vertical-align: top; | ||
border:1px solid #444; | ||
font-size: small; | ||
font-family: sans-serif; | ||
} | ||
table { border-collapse: collapse } | ||
caption { text-align: left; padding: 1em 0 .65em 0 } | ||
table, div#example { width:400px; } | ||
div#example { | ||
position:relative; | ||
height:150px; | ||
margin-top:1em | ||
} | ||
code { font-weight: bold } | ||
</style> | ||
</head> | ||
<body> | ||
<h3>Computed Column</h3> | ||
<div id="example"></div> | ||
<table> | ||
<caption>Note the following differences between computed columns <i>vs.</i> computed cells:</caption> | ||
<tr><th>Computed Column</th><th>Computed Cell</th></tr> | ||
<tr> | ||
<td>A single function reference in the <code>calculator</code> <em>column property</em> is used to compute the values for all the cells in the column.</td> | ||
<td>Each computed cell has a calculator function <em>in place of</em> its value. The grid displays the value returned by the calculator.</code></td> | ||
</tr> | ||
<tr> | ||
<td>There can also be a cell value, which the calculator can reference and operate on <em>in addition to</em> the other columns' value and any other variables in it's closure.</td> | ||
<td>The cell value <em>is</em> a reference to a calculator function. There is no cell value <i>per se;</i> the calculator therefore can <em>only</em> operate on the values of the other columns' values and other variables in it's closure.</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.