darrachequesne / spring-data-jpa-datatables

Spring Data JPA extension to work with the great jQuery plugin DataTables (https://datatables.net/)
Apache License 2.0
447 stars 173 forks source link

Searchable column with blank data properties cause error #85

Closed DanneLeung closed 4 years ago

DanneLeung commented 6 years ago

In some case, columns not set "searchable=false" and with data="" for custom rendering will cause [""(blank) property not found in xxx Class] error,I add column "data" property blank checking StringUtils.hasText(column.getData()) in AbstractPredicateBuilder.initTree function to fix it temporally.

darrachequesne commented 5 years ago

Is there a reason for not setting searchable: false?

Please see https://github.com/darrachequesne/spring-data-jpa-datatables#manage-non-searchable-fields.

darrachequesne commented 4 years ago

Closed due to inactivity, please reopen if needed.