primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Problem with Calendar in DataTable

Open meanle11 opened this issue 9 years ago • 1 comments

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) i use datatable Primeng, i want edit field Ngay with calendar , but i'm get error with it. <p-column field="ngay" header="Ngay" [editable]="true"> <template let-timePeriod="rowData" pTemplate="body"> <span>{{timePeriod.ngay | date: 'dd/MM/yyyy'}}</span> </template> <template let-col let-car="rowData" pTemplate="editor"> <p-calendar [ngModel]="car[col.field]| date: 'dd/MM/yyyy'" dateFormat="dd/mm/yy" [style]="{'width':'100%'}" (ngModelChange)="car[col.field]=event"></p-calendar> </template> </p-column>

if i use appendTo="body" it show calendar content, but it to show very big the same belows s1

i don't use appendTo so it not show calendar content, please help me check it

s2

  • Angular version: 2.0.X

  • PrimeNG version: 2.0.X

meanle11 avatar May 26 '17 02:05 meanle11

i'm resolved it. thanks a lot

meanle11 avatar May 26 '17 04:05 meanle11