Hi Peter,
i’ve downloaded the new version and adjusted my code to your changes. I can confirm that the destroy method doesn’t break the slider anymore.
But I am still having an issue with the destroy method. I can’t re-create the grid in the same node after destroying it:
$(document).ready
( function()
{
var jqxTheme = getTheme();
$(‘#slider’).jqxSlider({ theme: jqxTheme, mode: ‘fixed’, tooltip: true });
var columns = [{ text: ‘one’, datafield: ‘one’, width: 100 }, { text: ‘two’, datafield: ‘two’, width: 100 }];
$(“#list”).jqxGrid({ source: { data: [{one:’ ‘, two: ‘ ‘}], datatype: ‘json’ }, columns: columns });
$(“#list”).jqxGrid(‘destroy’);
$(“#list”).jqxGrid({ source: { data: [{one:’ ‘, two: ‘ ‘}], datatype: ‘json’ }, columns: columns });
}
)
Regards,
xrxss15