Skip to main content

Yahoo data table -- sorting problem

2 replies [Last post]
vikas_sharma
Offline
Joined: 2008-01-28

Hi,

I am trying to run jMaki load table sample (yahoo data table) with jMaki 1.8. Sorting do not work correctly on title column after clicking add multiple rows and add one row link.

I found the same behavior at below link:
http://jmaki.com/jmaki/loadtable/

Below link works fine:
http://jmaki.com/jmaki-loadtable/

Thanks,
Vikas

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31

Hi Vikas,

I found the problem was the sort API were updated in YUI 2.5.2 and it broke the wrappers which I have now fixed.

The good thing is now the APIs Yahoo provides are much better. I left the jMaki custom sort function in the wrapper code for those that want to have customized sorting.

Try the URLs now and you will see things are working now.

If you want just this fix you can get it in the jMaki nightly builds or :

Just replace the /resources/yahoo/dataTable/component.js with:

https://widgets.dev.java.net/source/browse/*checkout*/widgets/trunk/code...

Thank you once again for pointing this out.

-Greg

gmurray71
Offline
Joined: 2003-07-31

Hi,

Thank you for point this out.

The difference between the two samples is :

The non-working one is hosted from Yahoo's CDN

The working one contains the resources in the local application. I will look into this more and see if I can find the source.

Thank you for pointing this out.

-Greg