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
1365
igGrid selectedRows to array and post to php page
posted

hi, 

i have a grid with a checkbox column and selected rows. 

mySelectionsArray = $('#exceptionGrid').igGridSelection('selectedRows');

i'm trying to serialize the mySelectionsArray so i can post a php page to save some data. nothing is working! 

the closest i've come is by using JSON.Stringify and it gives me "Uncaught TypeError: Converting circular structure to JSON"

thank you

  • 15320
    Offline posted

    Hi Al,

    Did you manage to resolve your issue?

    If you need further help, please let me know.

    Regards,

    Tsanna

  • 15320
    Offline posted

    Hi Al,

    I found some articles related to the same issue, please look at them:

    - http://stackoverflow.com/questions/11616630/json-stringify-avoid-typeerror-converting-circular-structure-to-json

    - http://makandracards.com/makandra/28847-dealing-with-typeerror-converting-circular-structure-to-json-on-javascript

    - https://gist.github.com/ptekchand/3447280

    Please let me know if you need further assistance.

    Regards,

    Tsanna