The sortable table works like a charm! It is especially usefull for single
category views, where there is no other possibillity for sorting the columns.
Thank you!
However I encountered a little problem. I added the sortabletable.js to an
existing $$ViewTemplate that contained a button with a call to an other JS
function. The JS function was defined in the JSHeader. After adding the
sortabletablej.s, the other function stoped working. I moved the other function
around the form and discovered that when the function is defined in the BODY of
the form it works OK, when it is included in the HEAD of the form, the browser
does not recognize it as a function. WHY? Can somebody shed some ligth on this
problem? Is there some simple "trick" to avoid the situation?
The sortable table works like a charm! It is especially usefull for single category views, where there is no other possibillity for sorting the columns. Thank you! However I encountered a little problem. I added the sortabletable.js to an existing $$ViewTemplate that contained a button with a call to an other JS function. The JS function was defined in the JSHeader. After adding the sortabletablej.s, the other function stoped working. I moved the other function around the form and discovered that when the function is defined in the BODY of the form it works OK, when it is included in the HEAD of the form, the browser does not recognize it as a function. WHY? Can somebody shed some ligth on this problem? Is there some simple "trick" to avoid the situation?
Eva