colReorder: $(origCell).zIndex() not available
colReorder: $(origCell).zIndex() not available

Another ColReorder issue: using the latest git version, commit 2172c176bf86e9aa2 adds
zIndex: $(origCell).zIndex()
but that is only available if jQueryUI is loaded. I am not using jQueryUI, so it crashes. I guess zIndex: $(origCell).css("z-index")
would be the correct way to do it?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Darn it - thanks. I'll back this out. There is no way it should be dependent on jQuery UI. I missed that when merging the PR.
The issue with
$().css()
is it only gets the z-index for the current element, not its parents, which might be the one that is needed.Setting in the CSS is the way to do this I think rather than in Javascript. I'll just set a high default.
Allan