-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add Realtime Trading to ViteJS demos
- Loading branch information
1 parent
87ae806
commit 51805d6
Showing
10 changed files
with
691 additions
and
16 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<div style="position:relative"> | ||
<div style="width:850px;"> | ||
<div class="grid-header" style="width:100%"> | ||
<label>SlickGrid - Trading Platform</label> | ||
</div> | ||
<div id="myGrid" class="slick-container alpine-theme" style="width:100%;height:500px;"></div> | ||
</div> | ||
|
||
<div class="options-panel" style="margin-left:175px"> | ||
<h2> | ||
<a href="/examples/index.html" style="text-decoration: none; font-size: 22px">⌂</a> | ||
Search: | ||
</h2> | ||
<div style="padding:6px;"> | ||
<label style="width:200px;float:left">Changes Rate(ms): </label> | ||
<div style="padding:2px;"> | ||
<input style="width:100px;display:inline-block;" id="refreshRateSlider" type="range" min="1" max="125" value="25"> | ||
</div> | ||
<br/> | ||
<label style="width:200px;float:left">Highlight Duration (ms): </label> | ||
<div style="padding:2px;"> | ||
<input style="width:100px;display:inline-block;" id="highlightDuration" type="number" min="1" max="125" step="10" value="70"> | ||
</div> | ||
<br/> | ||
<label style="width:200px;float:left">Simulation:</label> | ||
<button class="button" id="btnStartSimulation">Start</button> | ||
<button class="button" id="btnStopSimulation">Stop</button> | ||
<br/><br/> | ||
<button class="button" data-test="group-currency-btn">Group by Currency</button> | ||
<button class="button" data-test="group-market-btn">Group by Market</button> | ||
<br/> | ||
<button class="button" data-test="collapse-all-btn">Collapse all groups</button> | ||
<button class="button" data-test="expand-all-btn">Expand all groups</button> | ||
<button class="button" data-test="clear-grouping-btn">Clear grouping</button> | ||
|
||
<h2>Demonstrates:</h2> | ||
<ul> | ||
<li>High Frequency Update - Realtime Trading Platform</li> | ||
</ul> | ||
<h2>View Source:</h2> | ||
<ul> | ||
<li><A href="https://github.com/6pac/SlickGrid/blob/master/vite-demo/src/example-trading.js" target="_sourcewindow"> View the source for this example on Github</a></li> | ||
</ul> | ||
|
||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.