EasyUI Forum
December 19, 2025, 10:21:53 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: re-apply combobox load filter  (Read 10510 times)
devnull
Sr. Member
****
Posts: 431


View Profile
« on: February 14, 2015, 09:38:04 PM »

At the moment, I have several checkboxes for filter options, when a checkbox changes, the combobox reloads from the remote url by using the selected params from the checkboxes.

This works, but I would like to change this so that filtering is done locally, and the combo only loads once from the remote url when the page initially loads.

Is is possible to re-apply the loadfilter after the data has been loaded so that I can use the loadfilter to filter based on my checkbox settings ?

 
Logged

-- Licensed User --
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: February 15, 2015, 06:04:17 PM »

How do you reload the combobox data? Please describe it in more detail, or show some code snippets to demonstrate your issue.
Logged
devnull
Sr. Member
****
Posts: 431


View Profile
« Reply #2 on: February 15, 2015, 07:45:05 PM »

Hi;

It's OK, I have found a different method by loading and saving the data via ajax to a var, then change the filter, then apply reload to combo from the saved var.



Logged

-- Licensed User --
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!