No announcement yet.
  • Filter
  • Time
Clear All
new posts

    ListGrid startEditingNew triggers a fetchData automatically

    Hi Isomorphic,

    We don't want to fetchData automatically in a ListGrid when "startEditingNew" is called. Please let us know how to avoid this. We are working with the 12.op release.

    Thank you in advance!

    This doesn't happen automatically, as you can see in various samples. What might be going on is that you have a ListGrid with a DataSource but no data, in which case startEditingNew() could appear to trigger a fetch simply because it's the first time that there is an attempt to access the data (other actions would also trigger a fetch).

    To avoid this, explicitly provide your grid with an empty dataset (literally setData([])).