you have to pass the information from one callback to the other.

there is not a fixed way to do that, you can leverage the extra fields (see the addField method) or any other idea you may come up with.

Our StocklistDemo uses the extra field approach (see the use of the doFade flag and the #fade field)

HTH