Is there a way to update the results of a jQuery flexbox with a JSON array? I have already created the flexbox, and I want to update its results.
I initialize my flexbox as follows:
$('#myFlex').flexbox({
"results": [
{ "id": "1", "name": "Ant" },
{ "id": "2", "name": "Bear" }
]},
{
allowInput: false,
paging: false,
maxVisibleRows: 8
});
This is taken from the documentation, and it works. Suppose I want to update the elements without reinitializing the flexbox. How can this be done?