omines / datatables-bundle

DataTables bundle for Symfony
https://omines.github.io/datatables-bundle/
MIT License
258 stars 115 forks source link

ArrayAdapter changing Arrays. #84

Closed mschrading closed 5 years ago

mschrading commented 5 years ago

Hi all. Back again with a hopfully easy question.

I tryed a datatable with your example with an arrayAdapter:

->createAdapter(ArrayAdapter::class, [ ['firstName' => 'Donald', 'lastName' => 'Trump'], ['firstName' => 'Barack', 'lastName' => 'Obama'], ]

Than I change the array and extended with 4 new arrays. I call the page with the new extended array but the datatable shows me only the last two datasets it seams they are cached or something. HOw can I reload the datatable with my new array?

I how for help. (Or do I have missunderstand something?)