forked from fin-hypergrid/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32add91
commit 0761850
Showing
3 changed files
with
32 additions
and
2 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 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,14 @@ | ||
#Hypergrid example for displaying RDBMS data | ||
|
||
<img src="../images/gridshot05.png" alt="screenshot"> | ||
|
||
this is an example usage of the hypergrid control looking at the +1MM row postrgres db example from the [greenplum getting started tutorial](http://gpdb.docs.pivotal.io/gs/42/pdf/GP-Getting-Started.pdf). For this example to work you'll need to | ||
|
||
* install the [greenplum tutorial db](http://gpdb.docs.pivotal.io/gs/42/pdf/GP-Getting-Started.pdf | ||
* npm install [any-db-postgress](https://github.com/grncdr/node-any-db) and websocket.io | ||
* run the node script found in this directory | ||
* navigate to the q behavior [example](http://openfin.github.io/fin-hypergrid/components/fin-hypergrid/demo.html) and press "reconnect" | ||
|
||
feel free to connect this example to any other db that any-db supports (MS SQL, MySQL, Postgres, and SQLite3). | ||
Make sure to npm install the proper any-db-***** interface and edit the config.js file. | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
db_url: 'postgres://stevewirts:saxophone@localhost/tutorial', | ||
db_url: 'postgres://login:password@localhost/tutorial', | ||
table: 'faa.otp_r', | ||
websocketPort: 5000 | ||
}; | ||
}; |