Clone a table row with hidden columns during drag event.
Clone a table row with hidden columns during drag event.
Focker513
Posts: 10Questions: 4Answers: 0
Greetings, I am using the legacy api and curious if there is an elegant way of cloning a row which has columns that are hidden during a drag/drop event? It seems that a drag drop only captures the .innerHtml of the row in transit so it does not see the hidden column of the row. Does anyone have experience with this?
var HelpMe= function (event, ui) {
debugger;
var noWorky = tbleSource..$('tr.row_selected');
ui.children().each(function () {
$(this).width($(this).width());
});
return ui; //does not include hidden rows
};
$("#tblTarget tbody").sortable({
helper: YetToBeDefined,
}).disableSelection();
$("#tblSource tbody").sortable({
helper: HelpMe ,
connectWith: "#tblTarget tbody"
}).disableSelection();
This discussion has been closed.