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.

nuSetNoSearchColumns

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Locked
Janusz
nuBuilder Team
Posts: 508
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 11 times
Been thanked: 18 times

nuSetNoSearchColumns

Unread post by Janusz »

Hi,
With the function like:

Code: Select all

nuSetNoSearchColumns([4,8]);
I can exclude some columns from the search - but I can not find a JS function which will make againg all colums searchable.
Do you have any idea how do do it?
If you like nuBuilder, please leave a review on SourceForge
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: nuSetNoSearchColumns

Unread post by admin »

Janusz,

There is no function but you can do this...

Code: Select all

nuFORM.getCurrent().nosearch_columns = [];

Steven
Janusz
nuBuilder Team
Posts: 508
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 11 times
Been thanked: 18 times

Re: nuSetNoSearchColumns

Unread post by Janusz »

Steven,
Thanks a lot - it's working well :-).
If you like nuBuilder, please leave a review on SourceForge
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: nuSetNoSearchColumns

Unread post by kev1n »

There's now a new function:

Code: Select all

nuSearchColumnsReset();
This will also visually "reset" the greyed out columns.
Locked