Giter Club home page Giter Club logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
You are right, current custom filter is not saved in the cookie, and therefore 
it is lost once the table is refreshed.
I working on it, but it is tricky because I want to use the same cookie that 
dataTables uses, and if I make any error dataTables will crach.
This feature wil be added in next version when I'm confidient that is works 
fine. 

Original comment by [email protected] on 11 Jun 2011 at 9:05

  • Changed title: Filter criterion is not saved in the cooki state
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
When will the next version be released ?

Original comment by [email protected] on 29 Jun 2011 at 6:26

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Any ETA on this?

Original comment by [email protected] on 15 Sep 2011 at 3:06

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Is the "custom filter" what is applied to the column filter (sorry for possibly 
not understanding the terminology)? DataTables saved the column filter 
information in aoPreSearchCols, so you can possibly loop over that and 
repopulate the settings from there. DataTables won't automatically set the 
values of the inputs since it knows nothing about them for individual columns - 
unlike the global filter which is does set.

Original comment by [email protected] on 10 Oct 2011 at 8:40

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
I've created imlementation for saving state in another cookie for fnCreateInput 
and fnCreateColumnSelect, see atachment:

.
Greg

Original comment by [email protected] on 29 Nov 2011 at 4:06

Attachments:

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
[deleted comment]

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Hi Greg,

I used your new implementation but it didnt worked well,
i had an error like that : 

//Error
$.cookie is not a function
var cookieJson = $.cookie(cookColumnName); 

any clues?
Thanks

Original comment by [email protected] on 19 Dec 2011 at 12:32

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
You need add jquery cookie plugin http://plugins.jquery.com/project/Cookie 

Original comment by [email protected] on 11 Jan 2012 at 10:17

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Hi,

I have not used cookie plugin but I have created page where state is saved in 
the cookie. Could you take a look at 
http://jquery-datatables-column-filter.googlecode.com/svn/trunk/stateSave.html 
and let me does it works for you too?

Use the latest version of plugin.

Thanks,
Jovan

Original comment by [email protected] on 15 Feb 2012 at 10:40

  • Changed state: Accepted

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Similar issue is resolved and confirmed that it works. If similar problem still 
occurs with the latest version of plugin please raise a new issue.

Jovan

Original comment by [email protected] on 29 Feb 2012 at 6:26

  • Changed state: Fixed

from jquery-datatables-column-filter.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
bStateSave works, but the checkbox filters don't maintain a checked "ticked" 
state!

Original comment by [email protected] on 14 Sep 2012 at 6:22

from jquery-datatables-column-filter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.