vendredi 31 juillet 2015

Bootstrap table - sort event

I have bootstrap table. In first col I have checkbox styled with Switchery plugin. I'm not able to reinitialize switchery checkbox after table sort event. I found this event:

onSort: function (name, order) {
   $result.text('Event: onSort, data: ' + name + ', ' + order);
},

But it looks like the event is called before sort is done... Search event, page event works but sort no. Can anybody help me?

Other question is how can I reinitialize Switchery instances, because everytime I call new ones :)




Aucun commentaire:

Enregistrer un commentaire