Page 2 of 2

Re: 'paginator' breaks dataTable columns update

Posted: 01 May 2019, 13:29
by NOTiFY
Thanks., perfect. Will get on with trying to replicate my 'bug'.

Re: 'paginator' breaks dataTable columns update

Posted: 01 May 2019, 17:23
by NOTiFY
I've added code to make the Columns displayed in the dataTable selectable from the 'selectManyCheckbox'. If you click on the 'selectManyCheckbox' you can add or remove columns from the dataTable. 'id' is the default column, always displayed.

It works fine until you change the 'number of rows' to display in the paginator. It then won't add or remove a column.

https://github.com/NOTiFYcouk/pf-4477

Re: 'paginator' breaks dataTable columns update

Posted: 01 May 2019, 17:30
by Melloware
OK I would open a GitHub issue and attache your ZIP file example.

Re: 'paginator' breaks dataTable columns update

Posted: 01 May 2019, 18:19
by NOTiFY
Thanks for all your help once again. Issue raised:

https://github.com/primefaces/primefaces/issues/4774

Re: 'paginator' breaks dataTable columns update

Posted: 11 May 2019, 13:16
by NOTiFY
What's the 'average' time to fix bugs (it's been marked as a 'defect') and when is the next release due?

Re: 'paginator' breaks dataTable columns update

Posted: 11 May 2019, 13:34
by Melloware
Typically a bug only gets fixed if..

1) Someone in the community researches and fixes it.
2) The reporter decides they want it fix dig into the problem and submit a PR.
3) You pay for PrimeFaces PRO. (You can even submit for an estimate of cost of a single bug fix)

With that said the DataTable is the most complex component of PrimeFaces and typically open source commiters like myself typically don't tackle those issue for fear of breaking something else. Most of the time those would be fixed by PrimeTek but usually only if a PRO user or a 1 time payment fix occurs.