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.092 seconds

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started