primefaces / primeui

Rich set of javascript-css only widgets
http://www.primefaces.org/primeui
278 stars 125 forks source link

Some fixes for components. #295

Open Sellec opened 4 years ago

Sellec commented 4 years ago

1. Added ability to freeze dialog. When freezed, all buttons and header icons are disabled

2. Update paginator.js Changed setTotalRecords behaviour: 1) If new page count is smaller than current page number, then new max page is set and paginate event triggered. 2) If new page count is higher or equal current page number, then doing nothing. Related to puidatatable, old behaviour works badly with lazy loading and filtering. When filtered data is received and applied, paginator is need to be updated.

3. Update datatable.js Fixed initial lazy datasource call error when "rows" parameter was not filled from paginator options becouse in the initial call paginator is not yet created.