仅对几行禁用行选择-Primefaces
条件生效日期大于今天。.需要禁用。下面的代码不起作用
<p-dataTable class="pc-datatable" [value]="ddd.List" dataKey="code" expandableRows="true" [loading]="isLoading"
expandedIcon="ui-icon-expand-less" collapsedIcon="ui-icon-expand-more" [(selection)]="selectedArray[i]">
<p-column expander="true" [style]="{'width':'3%'}"></p-column>
<p-column [style]="{'width':'3%'}" selectionMode="multiple"
disabledSelection="#{((ddd.effEndDt | dateConverter) > (minDate| dateConverter))}"
styleClass="#{((ddd.effEndDt | dateConverter) > (minDate| dateConverter)) ? 'selectionDisabled':''}"></p-column>