Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Sorting columns not possible?

Questions related to using nuBuilder Forte.
Post Reply
Timo
Posts: 221
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: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 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: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 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: 221
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: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: Sorting columns not possible?

Unread post by admin »

.
Post Reply