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
3790
destroy() has errors.
posted

gridIDMap = $( "#" + gridID ).data( 'igGrid' )

gridIDMap.destroy();

this used to work, on the latest update I get

Error: Syntax error, unrecognized expression: #myDiv0_table_ROW#

Parents
  • 37874
    posted

    Hello seang,

    It seems that there is a syntax error in your code. What is the value of your gridID variable? Do you have semi-colon after your first line? Have you tried to call the destroy method like this: $("#" + gridID ).igGrid('destroy');

Reply Children