Immutable property for data components
Bring back ngDoCheck to restore backward compatibility, if new immutable property (true by default) is enabled then use regular setter change detection, if not use ngDoCheck. This applies to;
- DataTable
- DataGrid - Done
- DataList - Done
- AutoComplete
- Growl
is there a work around? splice and push not reflected in p-datatable
To get them reflected you need to set [immutable]="false"
-
Can't bind to 'immutable' since it isn't a known property of 'p-dataTable'.
-
<p-dataTable [value]="ocDiagnosisDisplayed" [immutable]="false" [resizableColumns]="true" selectionMode="single" [(selection)]="oChronicSelected" (onRowSelect)="onChronicRowSelect($event)">
-
"primeng": "^4.1.0-rc.2"
You need rc3 for this which is due tomorrow.
sorry, same error with rc3
Weird, it works for me.
can you post an example that has [immutable], I still get •Can't bind to 'immutable' since it isn't a known property of 'p-dataTable'.
Showcase is already updated with details. You can find the example here https://github.com/sudheerj/primeng-4.1/blob/master/src/app/components/datatable/datatabledemo.component.html
uninstalled and reinstalled primeng, now it works, thank you.
That's great. You might have older versions.
Problem, p-radioButton no longer accepts inline style, i.e.
<p-radioButton style=”margin-left: 10px;”>
Thank you in advance,
Geordie Jenner
Net Connect Healthcare Systems
www.ncpractice.com
From: Sudheer Jonna [mailto:[email protected]] Sent: Saturday, July 01, 2017 2:16 PM To: primefaces/primeng Cc: gjenner; Comment Subject: Re: [primefaces/primeng] Immutable property for data components (#3227)
That's great. You might have older versions.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/primefaces/primeng/issues/3227#issuecomment-312447598 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYwRHfk9Kw-rvRmKsq30fiyKi1HQJyBsks5sJoz5gaJpZM4OHpPN . https://github.com/notifications/beacon/AYwRHeOlAE4MEjd-NQphwIDZS06CbjhSks5sJoz5gaJpZM4OHpPN.gif