Closed GoogleCodeExporter closed 9 years ago
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 joc...@gmail.com
on 11 Jun 2011 at 9:05
When will the next version be released ?
Original comment by billy.br...@lanec.com
on 29 Jun 2011 at 6:26
Any ETA on this?
Original comment by jvos...@gmail.com
on 15 Sep 2011 at 3:06
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 allan.ja...@gmail.com
on 10 Oct 2011 at 8:40
I've created imlementation for saving state in another cookie for fnCreateInput
and fnCreateColumnSelect, see atachment:
.
Greg
Original comment by jawors...@gmail.com
on 29 Nov 2011 at 4:06
Attachments:
[deleted comment]
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 clemotr...@gmail.com
on 19 Dec 2011 at 12:32
You need add jquery cookie plugin http://plugins.jquery.com/project/Cookie
Original comment by jawors...@gmail.com
on 11 Jan 2012 at 10:17
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 joc...@gmail.com
on 15 Feb 2012 at 10:40
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 joc...@gmail.com
on 29 Feb 2012 at 6:26
bStateSave works, but the checkbox filters don't maintain a checked "ticked"
state!
Original comment by KAkkape...@gmail.com
on 14 Sep 2012 at 6:22
Original issue reported on code.google.com by
martin.b...@gtempaccount.com
on 8 Jun 2011 at 8:35