Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Sorting columns not possible?

Questions related to using nuBuilder Forte.
Post Reply
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Sorting columns not possible?

Unread post by Timo »

Hi,

Is sorting supposed to work on a touch screen device? No sorting takes place if I tap on it and as a result the function nuSortBrowse is not executed.
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 447 times
Contact:

Re: Sorting columns not possible?

Unread post by kev1n »

To enable sorting, add this code under Setup -> Header:

Code: Select all

if ("browse" == nuFormType()) {
  $("[id^='nusort']").on("touchstart", function() {
      nuSortBrowse(String($(this).attr("id")).split("_")[1]);
  });
}
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Sorting columns not possible?

Unread post by admin »

Timo,

This is now fixed and available on SourceForge.

https://sourceforge.net/projects/nubuilder/files/


Steven
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Re: Sorting columns not possible?

Unread post by Timo »

Great, thanks!
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Sorting columns not possible?

Unread post by admin »

.
Post Reply