Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
cd2f2a8a
Commit
cd2f2a8a
authored
Aug 14, 2019
by
ncastejon
Browse files
Fix click interaction to select a row in the data table
parent
7b04c628
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/geosource/components/dataset-detail/dataset-table/dataset-table.component.html
View file @
cd2f2a8a
...
...
@@ -69,8 +69,8 @@
</span>
<span
class=
"column-title"
[ngClass]=
"{'active': sortValue === key}"
>
{{ key }}
</span>
</div>
<ng-container
*ngFor=
"let element of data; let indexData
=
index;
let even=even;
"
>
<div
[class]=
"'item-grid' + ' item-grid' + indexData"
[ngClass]=
"{'is-first': indexRow === 0 }"
<ng-container
*ngFor=
"let element of data; let indexData
=
index;"
>
<div
[class]=
"'item-grid' + ' item-grid
-
' + indexData"
[ngClass]=
"{'is-first': indexRow === 0 }"
*ngFor=
"let key of selectedProperties; let indexRow=index;"
(click)=
"setStyleForAllRow(indexData)"
>
<span
*ngIf=
"!isPropertyComplex(element,key)"
class=
"data-property-value"
>
{{ element.properties[key] }}
</span>
<span
*ngIf=
"isPropertyComplex(element,key)"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment