Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
JSON object null if no initial records
posted

When I call my page to grab my JSON data and it returns records I can call data in the object or grid.

If the JSON comes back with no data and I try to add records and reference I get a null reference error on either the grid or the js object.

Is there a way to initialize the variable to that is no initial JSON comes back then it will not be null. It seems that igGrid can't add data if no initial rows come back.