Skip to content
This repository has been archived by the owner on Nov 22, 2019. It is now read-only.

Commit

Permalink
Connections table in dataservice wizard is not sorting
Browse files Browse the repository at this point in the history
- changed the way the column is defined in the html
- minor changes to connections table shell styling
  • Loading branch information
elvisisking committed Dec 14, 2017
1 parent 8de66f8 commit 1962ee6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Expand Up @@ -10,7 +10,6 @@
<div class="col-sm-3" *ngIf="connectionsLoadedValid">
<ngx-datatable [rows]="rows"
[columns]="columns"
[loadingIndicator]="connectionsLoading"
[messages]="tableMessages"
[footerHeight]="24"
[scrollbarV]="true"
Expand All @@ -20,10 +19,7 @@
[selectionType]="'single'"
(select)="onSelect($event)"
[cssClasses]="customClasses">
<ngx-datatable-column [prop]="name" [sortable]="true" [resizeable]="false">
<ng-template let-column="column" ngx-datatable-header-template>
Connections
</ng-template>
<ngx-datatable-column name="Connections" [prop]="'name'" [sortable]="true" [resizeable]="false">
<ng-template let-row="row" let-value="value" ngx-datatable-cell-template>
<i class="fa fa-plug list-view-pf-icon-sm"></i>
{{ row.name }}
Expand Down
5 changes: 4 additions & 1 deletion ngapp/src/styles.css
Expand Up @@ -51,7 +51,10 @@
}

.datatable-body-cell {
padding: 0.25em;
padding-bottom: 0.25em;
padding-left: 1.0em;
padding-right: 0.25em;
padding-top: 0.25em;
border-left: 1px solid #d8d8d8;
border-right: 1px solid #d8d8d8;
}
Expand Down

0 comments on commit 1962ee6

Please sign in to comment.