Hi Isomorphic,
I'm wondering why there is a mechanism like DataBoundComponent.setAutoFetchData(true).
The docs say "Generally, turn off autoFetchData if you are going to manually call fetchData() at any time.", which is what I do.
In which cases is it useful to have AutoFetchData? The two advantages I see are:
Are there more advantages? When do you suggest to use autoFetchData?
Thank you & Best regards,
Blama
I'm wondering why there is a mechanism like DataBoundComponent.setAutoFetchData(true).
The docs say "Generally, turn off autoFetchData if you are going to manually call fetchData() at any time.", which is what I do.
In which cases is it useful to have AutoFetchData? The two advantages I see are:
- It saves a line of code
- The framework **might** be able to recognize two simultaneously issued requests (from a draw() call to a Layout with many DataBound members?) and combine them in a Queue. I don't know if that's even done.
Are there more advantages? When do you suggest to use autoFetchData?
Thank you & Best regards,
Blama
Comment