08-11-2021, 09:48 AM
(This post was last modified: 08-11-2021, 10:31 AM by Alexandre Machado.)
callbackData is some user-defined string that will be sent back to the application when the user closes the prompt dialog.
So you can send some stuff that will be returned back to the server, along with the input string and the result of the prompt (RetValue)
For instance, the user clicks on some grid cell and you want to prompt him to give you some other information. The grid cell data can be sent as callbackData, then when the user closes the prompt dialog you know what was the grid cell (meaning that you don't need to keep the grid cell stored in some variable)
So you can send some stuff that will be returned back to the server, along with the input string and the result of the prompt (RetValue)
For instance, the user clicks on some grid cell and you want to prompt him to give you some other information. The grid cell data can be sent as callbackData, then when the user closes the prompt dialog you know what was the grid cell (meaning that you don't need to keep the grid cell stored in some variable)

