Forum Discussion
3 Replies
Sort By
- DeanOusterhoutQrew Assistant CaptainWell, I got this working and am able to read some tables, present a form, allow the user to manipulate some data, and put the rows back. I am still having issues with chaining versus nesting, and had to resort to nesting.... I have another question open about the chaining...
I would still be interested in seeing any templates if folks want to share.
Thanks,
Dean - Eric_J_HansenQrew CadetWhat exactly are you trying to see? What is the problem you are trying to solve? What do you mean by user defined page? I am curious. This all just seems a bit vague.
Thanks - _anomDiebolt_Qrew EliteThere is actually a bug in the version of jQuery used by QuickBase (ver 1.7.2) which does effect chaining. With this bug chained AJAX requests will be sequenced correctly (ie though then()) but data the promise returns is always the data returned by the first promise. The fix is to use pipe() instead of then(). Since pipe() was deprecated in later versions of jQuery (ver 1.8) I often resort to nesting (against my own advice to you).
See:
https://api.jquery.com/deferred.pipe/
In any event jQuery is getting long in the tooth and you don't even need it any more as modern JavaScript now supports most of what jQuery does (eg querySelector, fetch API).