Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Custom function in collection grid clears filter 08 Jun 2017 20:05 #15196

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
Hi

I've created a custom function in a collection grid, and named it turn_up. My problem is, in builder, whenever I press the link, the filters are cleared.
Are there any way to prevent this?

Please Log in or Create an account to join the conversation.

Custom function in collection grid clears filter 09 Jun 2017 12:42 #15198

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Which PTL ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Custom function in collection grid clears filter 13 Jun 2017 06:46 #15213

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
What is PTL short for? The component is called "Danseskolen" - on the view=hold_elevers&layout=holdliste if that is any help...?
Thanks

Please Log in or Create an account to join the conversation.

Custom function in collection grid clears filter 18 Jun 2017 13:05 #15218

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
PTL is short name for :
Project / Table / Layout
in order to identify the context of your problem ...
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

Custom function in collection grid clears filter 22 Jun 2017 18:05 #15226

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
@Dyvel
Simply because the redirection is changing layout for the default one.
And the filters states values are separated by layout contexts.

You can define the layout in the task button so it will stay on the same layout.
Hope it helps
Coding is now a piece of cake
The following user(s) said Thank You: dyvel

Please Log in or Create an account to join the conversation.

Custom function in collection grid clears filter 27 Jun 2017 11:52 #15233

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
It did help - thank you! :-)

Please Log in or Create an account to join the conversation.

Custom function in collection grid clears filter 27 Jun 2017 12:00 #15234

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
Actually it only party helped.

I'm having a case where I was using a task button in the toolbar for one layout, and here I could define the layout context ad you described.
In another layout I've placed the custom task in the grid. Then it's not possible to define layout context, and then the filter clears ...

Any advise?

Please Log in or Create an account to join the conversation.

Last edit: by dyvel.
  • Page:
  • 1
Time to create page: 0.118 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started