NetTalk Central

Author Topic: New page returns client-side 'sortable' to default serverside table  (Read 5033 times)

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
Hello,

Working with NetTalk Webserver for a few weeks now and every day it surprises me how dynamic it is.

With that said I want to give me visitors the ability to use client-side sorting.

When configuring this on a browse with multiple pages, I find the server returns a normal server-side browse when clicking on page 2, 3, etc. When in this 'css-mode' I am unable to return to the sortable-css style browse I started with on page 1.

Is this something I can change or is this perhaps something that's going to be fixed in 4.31?

Kind regards,
Sjoerd vd Berg
Netherlands
Greetz,
Sjoerd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: New page returns client-side 'sortable' to default serverside table
« Reply #1 on: September 04, 2008, 07:03:19 AM »
Hi Sjoerd,

>> With that said I want to give me visitors the ability to use client-side sorting.

I don't recommend this at the moment. The client-side-sorting script has a number of unwelcome side effects.
Certainly you shouldn't use it on a page-loaded browse because it would only be able to sort what they can see. (and they'd lose the benefit of the locator).

It's probably that the client-side sorting will get a revamp (along with a lot of other JavaScript) in NetTalk 5 - but at the moment I don't have plans to re-do it for NetTalk 4. I think the server side sorting is more useful at the moment.

cheers
Bruce

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
Re: New page returns client-side 'sortable' to default serverside table
« Reply #2 on: September 08, 2008, 02:49:05 AM »
Bruce,

I have kicked the client-side sorting away and indeed the server-side sorting works much better. Still, there is something else thats really annoying.
When I have a browse that has serverside sorting and I click on Next to view the second page I cannot use or see any kind of sorting. Also when I click back to page 1 this functionality is gone until a complete refresh.

What can this be?

Sjoerd
Greetz,
Sjoerd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: New page returns client-side 'sortable' to default serverside table
« Reply #3 on: September 08, 2008, 11:50:14 PM »
Hi Sjoerd,

Which version are you using? That really doesn't sound like standard behavior.
Can you duplicate that effect in an example?

Cheers
Bruce

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: New page returns client-side 'sortable' to default serverside table
« Reply #4 on: September 09, 2008, 03:35:55 PM »
Bruce, when will you move to NetTalk 5?
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: New page returns client-side 'sortable' to default serverside table
« Reply #5 on: September 09, 2008, 10:38:35 PM »
Mike,

I think that question deserves it's own thread...

Cheers
Bruce