-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(resources): add RxJS support into Slickgrid-Universal via extern…
…al package (#280) * feat(rxjs): add RxJS package with abstract usage in common lib
- Loading branch information
1 parent
ba703d8
commit c10fc33
Showing
65 changed files
with
3,122 additions
and
652 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
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
78 changes: 78 additions & 0 deletions
78
examples/webpack-demo-vanilla-bundle/src/examples/example15.html
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,78 @@ | ||
<h3 class="title is-3"> | ||
Example 15 - Grid with OData Backend Service using RxJS Observables | ||
<div class="subtitle" style="float: right; margin-top: -20px"> | ||
<a class="is-size-5" | ||
target="_blank" | ||
href="https://github.com/ghiscoding/slickgrid-universal/blob/master/examples/webpack-demo-vanilla-bundle/src/examples/example15.ts"> | ||
<span class="mdi mdi-link mdi-v-align-sub"></span> code | ||
</a> | ||
</div> | ||
</h3> | ||
|
||
<div class="row"> | ||
<button class="button is-small" data-test="clear-filters-sorting" | ||
onclick.delegate="clearAllFiltersAndSorts()" title="Clear all Filters & Sorts"> | ||
<span class="icon mdi mdi-close"></span> | ||
<span>Clear all Filter & Sorts</span> | ||
</button> | ||
<button class="button is-small" data-test="set-dynamic-filter" onclick.delegate="setFiltersDynamically()"> | ||
Set Filters Dynamically | ||
</button> | ||
<button class="button is-small" data-test="set-dynamic-sorting" onclick.delegate="setSortingDynamically()"> | ||
Set Sorting Dynamically | ||
</button> | ||
<button class="button is-small" style="margin-left: 10px" data-test="add-gender-button" | ||
onclick.delegate="addOtherGender()" disabled.bind="isOtherGenderAdded"> | ||
Add Other Gender via RxJS | ||
</button> | ||
</div> | ||
|
||
<br /> | ||
|
||
<div> | ||
<span> | ||
<label>Programmatically go to first/last page:</label> | ||
<button class="button is-small" data-test="goto-first-page" onclick.delegate="goToFirstPage()"> | ||
<i class="fa fa-caret-left fa-lg"></i>< | ||
</button> | ||
<button class="button is-small" data-test="goto-last-page" onclick.delegate="goToLastPage()"> | ||
<i class="fa fa-caret-right fa-lg"></i>> | ||
</button> | ||
</span> | ||
|
||
<span style="margin-left: 10px"> | ||
<label>OData Version: </label> | ||
<span data-test="radioVersion"> | ||
<label class="radio-inline control-label" for="radio2"> | ||
<input type="radio" name="inlineRadioOptions" data-test="version2" id="radio2" checked value.bind="odataVersion" | ||
onclick.delegate="setOdataVersion(2)"> 2 | ||
</label> | ||
<label class="radio-inline control-label" for="radio4"> | ||
<input type="radio" name="inlineRadioOptions" data-test="version4" id="radio4" value.bind="odataVersion" | ||
onclick.delegate="setOdataVersion(4)"> 4 | ||
</label> | ||
</span> | ||
</span> | ||
<label class="checkbox-inline control-label" for="enableCount" style="margin-left: 20px"> | ||
<input type="checkbox" id="enableCount" data-test="enable-count" checked.bind="isCountEnabled" | ||
onclick.delegate="changeCountEnableFlag()"> | ||
<span style="font-weight: bold">Enable Count</span> (add to OData query) | ||
</label> | ||
</div> | ||
|
||
<div class="columns" style="margin-top: 5px"> | ||
<div class="column"> | ||
<div class="notification is-info is-light" data-test="alert-odata-query"> | ||
<strong>OData Query:</strong> | ||
<span data-test="odata-query-result" innerhtml.bind="odataQuery"></span> | ||
</div> | ||
</div> | ||
<div class="column is-narrow"> | ||
<div class.bind="statusClass" data-test="status"> | ||
<strong>Status:</strong> <span innerhtml.bind="status"></span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="grid15"> | ||
</div> |
1 change: 1 addition & 0 deletions
1
examples/webpack-demo-vanilla-bundle/src/examples/example15.scss
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 @@ | ||
@import '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-salesforce.scss'; |
Oops, something went wrong.