we have upgrade our cumolocity version, Our c8y data grid is not working.
API data is not showing in table, but data column is loading
Thanks
Rahul
we have upgrade our cumolocity version, Our c8y data grid is not working.
API data is not showing in table, but data column is loading
Thanks
Rahul
Hi Rahul,
with the provided information we are unable to help you.
Please provide code snippets on how you are using the data grid and the error message you might be receiving.
Thanks Tristan, No error message is coming,
My code snippet is
<c8y-data-grid class=“scroll-column table table-responsive” [columns]=“columns | slice : 0 : 8”
[rows]=“rows” [actionControls]=“” [bulkActionControls]=“bulkActionControls”
[pagination]=“{ pageSize: 2, currentPage: 1 }” [refresh]=“refresh”
[displayOptions]=“displayOptions”>
<ng-container *c8yCellRendererDef=“let context”>
{{ context.value }}
<ng-container *c8yCellRendererDef=“let context”>
<textarea id=“labels” value=“{{ context.value }}”
class=“form-control shadow-none form-rounded” aria-describedby=“basic-addon1” required
name=“labels” autocomplete=“off” [disabled]=“isEditTable ? null : true”>
<c8y-column name="friendlyUnit">
<ng-container *c8yCellRendererDef="let context">
<input type="text" id="friendlyUnit" value="{{ context.value }}"
class="form-control shadow-none form-rounded form-control1" aria-describedby="basic-addon1"
required name="friendlyUnit" autocomplete="off" [disabled]="isEditTable ? null : true" />
</ng-container>
</c8y-column>
<c8y-column name="l" width="10%">
<ng-container *c8yCellRendererDef="let context">
<input type="number" id="l" value="{{ context.value }}"
class="form-control shadow-none form-rounded form-control1" aria-describedby="basic-addon1"
required name="l" autocomplete="off" [disabled]="isEditTable ? null : true" />
</ng-container>
</c8y-column>
<c8y-column name="ll" width="10%">
<ng-container *c8yCellRendererDef="let context">
<input type="number" id="ll" value="{{ context.value }}"
class="form-control shadow-none form-rounded form-control1" aria-describedby="basic-addon1"
autocomplete="off" [disabled]="isEditTable ? null : true" />
</ng-container>
</c8y-column>
<c8y-column name="h" width="5px">
<ng-container *c8yCellRendererDef="let context">
<input type="number" id="h" value="{{ context.value }}"
class="form-control shadow-none form-rounded form-control1" aria-describedby="basic-addon1"
required name="h" autocomplete="off" [disabled]="isEditTable ? null : true" />
</ng-container>
</c8y-column>
<c8y-column name="hh" width="10%">
<ng-container *c8yCellRendererDef="let context">
<input type="number" id="hh" value="{{ context.value }}"
class="form-control shadow-none form-rounded form-control1" aria-describedby="basic-addon1"
required name="hh" autocomplete="off" [disabled]="isEditTable ? null : true" />
</ng-container>
</c8y-column>
<c8y-column name="act" width="5px">
<ng-container *c8yCellRendererDef="let context">
<ng-container *ngIf="context.item.act == true">
<button title="disabled" class="btn btn-icon btn-clean" (click)="onEditRow(context)">
<i c8yIcon="exclamation-circle"
class="dlt-c8y-icon-exclamation-circle major text-danger"></i>
</button>
</ng-container>
<ng-container *ngIf="context.item.act != true">
<button class="btn btn-icon btn-xs btn-primary" title="Edit" (click)="onEditRow(context)">
<i c8yicon="pencil" class="fa fw fa-pencil" c8y-icon="pencil
pencil-square
edit1"></i>
</button>
</ng-container>
</ng-container>
</c8y-column>
</c8y-data-grid>
Hi Rahul,
I do not see any obvious issue within the markup.
Can you provide a zipped minimal sample of an application to reproduce the issue?
From which version did you upgrade to 1015.0.249?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.