Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143743 | Apr 3,2019 04:13 PM UTC | Apr 11,2019 08:35 AM UTC | Angular - EJ 2 | 5 |
![]() |
Tags: Grid |
export class AppComponent implements OnInit {
@ViewChild("grid")
public grid: GridComponent;
. . . .
ngOnInit() {
. . . .
this.templateOptions = {
ui: {
create: (args: { target: Element, column: Object }) => {
let db: Object = new DataManager(this.data);
let flValInput: HTMLElement = createElement('input', { className: 'flm-input' });
args.target.appendChild(flValInput);
var _this = this;
this.dateRangePicker = new DateRangePicker({
min: new Date('1/15/2019'),
max: new Date('12/20/2019'), // you can only select the date between this range
change: function (e) {
. . . .
},
});
this.dateRangePicker.appendTo(flValInput);
},
. . . .
}
}
}
} |
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.