Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
151251 | Feb 5,2020 07:06 AM UTC | Feb 10,2020 05:42 AM UTC | Angular - EJ 2 | 3 |
![]() |
Tags: Grid |
<ejs-grid [dataSource]='data' height='350'>
<e-columns>
<e-column field='OrderID' headerText='Order ID' width='120' textAlign='Right'></e-column>
<e-column field='CustomerName' headerText='Customer Name' width='150'></e-column>
<e-column field='OrderDate' headerText='Order Date' type='date' width='130' [format]="format" textAlign='Right'></e-column>
</e-columns>
</ejs-grid>
|
export class AppComponent {
public data: Object[] = [];
public format = {type:'date', format:'dd/MM/yyyy'}
}
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.