You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/aurelia/src/examples/slickgrid/example10.ts
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,6 @@ import { type AureliaGridInstance, type Column, Filters, Formatters, type GridOp
3
3
import'./example10.scss';// provide custom CSS/SASS styling
4
4
5
5
exportclassExample10{
6
-
title='Example 10: Multiple Grids with Row Selection';
7
-
subTitle=`
8
-
Row selection, single or multi-select (<a href="https://ghiscoding.gitbook.io/aurelia-slickgrid/grid-functionalities/row-selection" target="_blank">Wiki docs</a>).
9
-
<ul>
10
-
<li>Single Select, you can click on any cell to make the row active</li>
11
-
<li>Multiple Selections, you need to specifically click on the checkbox to make 1 or more selections</li>
12
-
<li>NOTE: Any Row Selection(s) will be reset when using Pagination and changing Page (you will need to set it back manually if you want it back)</li>
Copy file name to clipboardExpand all lines: demos/aurelia/src/examples/slickgrid/example11.ts
-20Lines changed: 0 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -12,26 +12,6 @@ import {
12
12
import'./example11.scss';
13
13
14
14
exportclassExample11{
15
-
title='Example 11: Add / Update / Highlight a Datagrid Item';
16
-
subTitle=`
17
-
Add / Update / Hightlight an Item from the Datagrid (<a href="https://ghiscoding.gitbook.io/aurelia-slickgrid/grid-functionalities/add-update-highlight" target="_blank">Wiki docs</a>).
18
-
<ul>
19
-
<li><b>Note:</b> this demo is <b>only</b> on the datagrid (client) side, you still need to deal with the backend yourself</li>
20
-
<li>Adding an item, will always be showing as the 1st item in the grid because that is the best visual place to add it</li>
21
-
<li>Add/Update an item requires a valid Slickgrid Selection Model, you have 2 choices to deal with this:</li>
22
-
<ul><li>You can enable "enableCheckboxSelector" or "enableRowSelection" to True</li></ul>
23
-
<li>Click on any of the buttons below to test this out</li>
24
-
<li>You can change the highlighted color & animation by changing the <a href="https://github.com/ghiscoding/aurelia-slickgrid/blob/master/aurelia-slickgrid/src/aurelia-slickgrid/styles/_variables.scss" target="_blank">SASS Variables</a></li>
25
-
<ul>
26
-
<li>"$row-highlight-background-color" or "$row-highlight-fade-animation"</li>
27
-
</ul>
28
-
<li>You can also add CSS class(es) on the fly (or on page load) on rows with certain criteria, (e.g. click on last button)<li>
29
-
<ul>
30
-
<li>Example, click on button "Highlight Rows with Duration over 50" to see row styling changing. <a href="https://ghiscoding.gitbook.io/aurelia-slickgrid/grid-functionalities/dynamic-item-metadata" target="_blank">Wiki doc</a></li>
<li>For date localization, you need to create your own custom formatter. </li>
46
-
<ul>
47
-
<li>You can easily implement logic to switch between Formatters "dateIso" or "dateUs", depending on current locale.</li>
48
-
</ul>
49
-
<li>For the Select (dropdown) filter, you can fill in the "labelKey" property, if found it will use it, else it will use "label"</li>
50
-
<ul>
51
-
<li>What if your select options have totally different value/label pair? In this case, you can use the <b>customStructure: { label: 'customLabel', value: 'customValue'}</b> to change the property name(s) to use.'</li>
52
-
<li>What if you want to use "customStructure" and translation? Simply pass this flag <b>enableTranslateLabel: true</b></li>
53
-
<li>More info on the Select Filter <a href="https://ghiscoding.gitbook.io/aurelia-slickgrid/column-functionalities/filters/select-filter" target="_blank">Wiki page</a></li>
54
-
</ul>
55
-
<li>For more info about "Download to File", read the <a href="https://ghiscoding.gitbook.io/aurelia-slickgrid/grid-functionalities/export-to-excel" target="_blank">Wiki page</a></li>
0 commit comments