beforeAjaxUpdate CGridvView vs. ClistView


I noticed that in the CGridView the options are passed to the beforeAjaxUpdate callback (see here), in the CListView not (vs here).

It this difference by design? It is great to have the options object in CGridView callbacks!

What is the designed approach to pass paramters to the controller during an ajax update with CListView then?

Looking forward to you replies!



Okay, got it. In CListView you can call the JS listView.update(id, options) WITH options. So data can be assigned here and must not be assigned during beforeAjaxUpdate.