Summary updated after ajax request.
Add new option enableSummary, because is true summary data showed and sent in ajax request.
Added summary template to templates renders. Remove if ($this->enablePagination) in renderTemplates method, because if set enable enablePagination to false thrown JS error.
Sending summaryClass to JS.
In JSON response added summary index with summary values, class and text.
Added handling summary data and template in js library.