I found a problem in JST. But don't worry! It's so easy to correct!!!
Well, the problem is this: You use the "top" window property to "storage" the references to JST Table, that you use in the "sort column click". The problem is this, because if you have a page, with a lot of iframes, and in each iframe a JST with the "same id" (like table1, for example), all of this iframes reference to the same window.top property. Then, you will have only one reference to one JST table. I do this (create a lot of iframes with a JST "built-in" with the same ID) and, when i click in the sort column of any JST table, the JST sorted is the last JST created (because this is the last reference in the top property).
I think that to correct this problem, you will need to create a "static" array property in the JST to storage the reference and don't use the window.top property...
Thank's!!!
Ivo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello...
I found a problem in JST. But don't worry! It's so easy to correct!!!
Well, the problem is this: You use the "top" window property to "storage" the references to JST Table, that you use in the "sort column click". The problem is this, because if you have a page, with a lot of iframes, and in each iframe a JST with the "same id" (like table1, for example), all of this iframes reference to the same window.top property. Then, you will have only one reference to one JST table. I do this (create a lot of iframes with a JST "built-in" with the same ID) and, when i click in the sort column of any JST table, the JST sorted is the last JST created (because this is the last reference in the top property).
I think that to correct this problem, you will need to create a "static" array property in the JST to storage the reference and don't use the window.top property...
Thank's!!!
Ivo
Ok, fixed on CVS...