Data view already refreshes data on every load from the data provider. To
repaint via ajax, replace the component that contains the data view rather
than the data view itself. Your ajax console or server console should
already have a warning telling you this if you are currently adding the data
view to the ajax request target.

Don't use list view for large data sets (even with loadabledetachablemodel)
because it must load *every* item even if it is only showing one page with a
subset of the data.

Jeremy Thomerson
http://wickettraining.com
-- sent from my "smart" phone, so please excuse spelling, formatting, or
compiler errors

On Dec 10, 2010 1:18 AM, "Josh Kamau" <[email protected]> wrote:

Hi guys;

I have a dataview component that is using a sortable data provider. I have
created a sortable dataprovider that has a constructor that takes parameters
and produced data based on the parameters passed. I would like to update
date the dataview by may be replacing its dataprovider and refreshing it via
ajax. It doesnt seem to work.


  - Is it possible to create a dataview that requeries the data with every
  reload?
  - Is it possible to replace  the dataviews dataprovider and refresh it
  via ajax
  - Is it possible to use something like a loadable detachable model on a
  sortable dataview?
  - Is it possible to use make a listView sortable and pageable?

All i want to do is to create a sortable pageable dataview that can be
refreshed to show different data based on some parameters passed.

Any feedback is appreciated.

Josh.

Reply via email to