| Page 1 of 1 | [ 4 posts ] |
Christian Tiberg
|
Hello!
I'm using the new and updated code for having a paginated datatable with expandable rows, and it mostly works. Take a look at this: http://kristianstadbuss.se/avg.html Click on "Platser" and it's marked as sorted. Now try to sort by *anything* else - no go Any help would be wonderful! |
|
I tried it in Firefox and IE8 and it worked, even with some of the items expanded. After sorting by "Platser", I could sort it by any other column.
|
Christian Tiberg
|
Yes it does sort, but the Platser column is shown as being sorted as well as the other newly chosen column. That's the problem. In Chrome, Firefox and IE.
|
|
Running it with the FireBug debugger on, it stopped at a couple of fatal errors inside minimized code, which I was unable to follow, it being minimized. I wasn't successful in trying to go back in the stack trace since I wasn't able to reach any non-minimized code that I could point to.
The code breaks when sorting by any column but Platzer, thus being unable to complete the process of refreshing the screen, including the styles that signal the sort status. There was too much code for me to look at, and when that happens, even with my own code, the first thing I do is to get some help from automated validators, which have the patience I don't. HTMLValidator (available as an add-on to Firefox so that it really takes no real effort to get my pages validated) signals several errors and I am sure JSLint would also complain here and there. All these automated validators are a great help as you can't be expected to get everything right. Then, load non-minimized versions and run it with the debugger on, so you can find out what it is complaining about, in some human-readable code. |
| Page 1 of 1 | [ 4 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group