Skip to content

Commit ce377b0

Browse files
committed
chore: fix grid rendering and update form
1 parent e5d579c commit ce377b0

File tree

4 files changed

+7
-61
lines changed

4 files changed

+7
-61
lines changed

examples-standalone/kendoangular-landing-page/src/app/components/bottom-right/bottom-right.component.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
themeColor="primary"
5555
type="button"
5656
[disabled]="form.invalid"
57-
(click)="handleSubmit()"
5857
>
5958
Submit
6059
</button>

examples-standalone/kendoangular-landing-page/src/app/components/bottom-right/bottom-right.component.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ export class BottomRightComponent {
5252
return null;
5353
}
5454

55-
public handleSubmit(): void {
56-
if (this.form.valid) {
57-
alert(JSON.stringify(this.form.value, null, 2));
58-
}
59-
}
60-
6155
public clearForm(): void {
6256
this.form.reset();
6357
}

examples-standalone/kendoangular-landing-page/src/app/components/transactions-dashboard/transactions-dashboard.component.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
[navigable]="true"
1313
[height]="302"
1414
[style.width.px]="586"
15+
size="small"
1516
scrollable='none'
1617
>
1718
<kendo-grid-column field="time" title="Time" [width]="97"></kendo-grid-column>
@@ -26,15 +27,7 @@
2627

2728
<kendo-grid-column field="company" title="Company" [width]="181"></kendo-grid-column>
2829

29-
<kendo-grid-column field="status" title="Status" [width]="54">
30-
<ng-template kendoGridCellTemplate let-dataItem>
31-
<span [ngClass]="getStatusClass(dataItem.status)" class="status-badge">
32-
{{ dataItem.status }}
33-
</span>
34-
</ng-template>
35-
</kendo-grid-column>
36-
37-
<kendo-grid-column field="country" title="Country" [width]="54">
30+
<kendo-grid-column field="country" title="Ctry." [width]="54" [columnMenu]="false">
3831
<ng-template kendoGridCellTemplate let-dataItem>
3932
<div style="display: flex; justify-content: center;" [innerHTML]="getSafeFlag(dataItem.flag)">
4033
</div>

examples-standalone/kendoangular-landing-page/src/app/services/grid-data.service.ts

Lines changed: 5 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -429,51 +429,11 @@ export class GridDataService {
429429
fill="none"
430430
xmlns="http://www.w3.org/2000/svg"
431431
>
432-
<g clipPath="url(#clip0_6418_12247)">
433-
<mask
434-
id="mask0_6418_12247"
435-
style="mask-type:luminance"
436-
maskUnits="userSpaceOnUse"
437-
x="0"
438-
y="0"
439-
width="24"
440-
height="12"
441-
>
442-
<path d="M0 0V12H24V0H0Z" fill="white" />
443-
</mask>
444-
<g mask="url(#mask0_6418_12247)">
445-
<path d="M0 0V12H24V0H0Z" fill="#012169" />
446-
<path d="M0 0L24 12L0 0ZM24 0L0 12L24 0Z" fill="black" />
447-
<path d="M0 0L24 12M24 0L0 12" stroke="white" strokeWidth="2.4" />
448-
<mask
449-
id="mask1_6418_12247"
450-
style="mask-type:luminance"
451-
maskUnits="userSpaceOnUse"
452-
x="0"
453-
y="0"
454-
width="24"
455-
height="12"
456-
>
457-
<path
458-
d="M12 6H24V12L12 6ZM12 6V12H0L12 6ZM12 6H0V0L12 6ZM12 6V0H24L12 6Z"
459-
fill="white"
460-
/>
461-
</mask>
462-
<g mask="url(#mask1_6418_12247)">
463-
<path d="M0 0L24 12L0 0ZM24 0L0 12L24 0Z" fill="black" />
464-
<path d="M0 0L24 12M24 0L0 12" stroke="#C8102E" strokeWidth="1.6" />
465-
</g>
466-
<path d="M12 0V12V0ZM0 6H24H0Z" fill="black" />
467-
<path d="M12 0V12M0 6H24" stroke="white" strokeWidth="4" />
468-
<path d="M12 0V12V0ZM0 6H24H0Z" fill="black" />
469-
<path d="M12 0V12M0 6H24" stroke="#C8102E" strokeWidth="2.4" />
470-
</g>
471-
</g>
472-
<defs>
473-
<clipPath id="clip0_6418_12247">
474-
<rect width="24" height="12" fill="white" />
475-
</clipPath>
476-
</defs>
432+
<rect width="24" height="12" fill="#00247D"/>
433+
<path d="M0 0L24 12M24 0L0 12" stroke="white" stroke-width="2.4"/>
434+
<path d="M12 0V12M0 6H24" stroke="white" stroke-width="4"/>
435+
<path d="M12 0V12M0 6H24" stroke="#CF142B" stroke-width="2"/>
436+
<path d="M0 0L24 12M24 0L0 12" stroke="#CF142B" stroke-width="1"/>
477437
</svg>`;
478438

479439
private gridData: GridItem[] = [

0 commit comments

Comments
 (0)