RE: Select Order Items - Why Print "2"?
Believe it or not, the 'selection' CSS actually has nothing to do with the sorting. The sort handling references the <th> tag styles that have 'ascending' set and then javascript uses this reference to do the sorting.
What breaks the sorting -- for that specific table -- is actually the first and last rows that have the buttons.
So, if the first row is wrapped in a <thead> tag, and the last row in a <tfoot> tag, then the sorting is ok without any change to the <table> tag style. No <tbody> necessary either, though that was a good idea, and I'll likely keep that change too.
I'll make those changes (without the 'selection') and commit, as I noted another existing CSS improvement that can be applied in the same area as well.
|