Welcome to the nuBuilder Forums!

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

nuSetNoSearchColumns

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Locked
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 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: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 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: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 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: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 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