Please, make sure that the name of your grid is “gridbox”.
Also, make sure that it is created at the moment, when you are calling the getValue() method.
If the problem still occurs for you please, provide with a more detailed sample of the code or with a complete demo/demo link, where the problem can be reconstructed locally.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan