Re: [Proto-Scripty] Table columns not sorted by Tablekit after AJAX call is added

2010-03-14 Thread Guillaume Lepicard


Hi albert,

In the tablekit library, there probably is a listener on window load  
event that will look for html table tags and perform actions on them.  
You should perform those actions when ajax updater succeed.


Guillaume


Le 13 mars 2010 à 17:19, albert kao  a écrit :


I use the Tablekit library and Prototype javascript framework on
firefox, chrome & IE8.
The columns in this table can be sorted by the Tablekit library.
Code:




 
  ...
 
 

 
 
   ID
   Date
   Time
 
 
 


However, after adding the periodic refresh by AJAX (eventually I want
to refresh only the web page when there is new data available) and
, then the columns in this table cannot be sorted by the Tablekit
library.
Code:


...
 
  ...
 
 

 
 
   ID
   Date
   Time
 
 
 



--
You received this message because you are subscribed to the Google  
Groups "Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com 
.
To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com 
.
For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en 
.




--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Table columns not sorted by Tablekit after AJAX call is added

2010-03-13 Thread albert kao
I use the Tablekit library and Prototype javascript framework on
firefox, chrome & IE8.
The columns in this table can be sorted by the Tablekit library.
Code:




  
   ...
  
  

  
  
ID
Date
Time
  
  
  


However, after adding the periodic refresh by AJAX (eventually I want
to refresh only the web page when there is new data available) and
, then the columns in this table cannot be sorted by the Tablekit
library.
Code:


...
  
   ...
  
  

  
  
ID
Date
Time
  
  
  



-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.