I got Selectable working as far as filtering out the table cells I do not want to select:
$(function() {
$( "table tr" ).selectable(
{filter: ":not(.belegt)"}
);
});
Now I would like to only select cells next to each other, that form a continous line. So when there is a filtered out cell in between, the one after it cannot be selected.
On a sidenote: when I select cells in row 1, then select some in row 2, the selected ones in row 1 do not get removed..How to get this to work?
Could you help me please? I have been on this now for hours and it just won't work. Thanks in advance :)