I would like to create a custom version of the sortable widget. I have been searching for documentation, but could not find something really accurate. The best information I
These are kinda strange answers. There is an optional second parameter - basewidget to inherit from. It's easy. No need to work with prototype and so on.
$.widget( "ui.customsortable", $.ui.sortable, {
_init: function() {
this.element.data('sortable', this.element.data('customsortable'));
// or whatever you want
}
} );
The second parameter is $.ui.sortable. I think it's all you need.