Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Rizzi
@RizziCR
yes
Thibault Duchateau
@tduchateau
edit
Rizzi
@RizziCR
property should then be the default „_“ and if the others are set, add them to the object
Thibault Duchateau
@tduchateau
(and of course their Thymeleaf counterparts: dt:filterProperty, dt:sortProperty)
Rizzi
@RizziCR
around end of the week or the week then. i think i have some time to build a PR for this
Thibault Duchateau
@tduchateau
=> wip/1.1.0 ;-)
Rizzi
@RizziCR
ok ;)
i update my fork of data tables now ;)
hmm.. first.. read docs how to do :D
i don’t understand github completely ;)
Rizzi
@RizziCR
i have a question to 0.10 :/
for the external form filter. how can i remove the „all“ (the first entry) in the filter type select?
my list (filterValues) doesn’T include such a entry
Thibault Duchateau
@tduchateau
You can pass a custom set of predefined values
and in particular, an array of objects
Rizzi
@RizziCR
i pass a jsonarray without the „all“ entry
that’s why i ask
Thibault Duchateau
@tduchateau
let me have a look at the old filtering addon
Rizzi
@RizziCR
it’s add automaticaly
the only idea I can think of is to use a modified version of this addon, using a custom bundle that overrides the corresponding asset
Rizzi
@RizziCR
i already does :)
Thibault Duchateau
@tduchateau
ok, great
Rizzi
@RizziCR
the default bundle link to the js doesn’t work for me.. always not found
i already link it manually in my project..
but don’t look into it, about this behaviour.. thx for the tip
Thibault Duchateau
@tduchateau
yep, old bug in the 0.10.x
you're welcome
Rizzi
@RizziCR
one reason more to switch to the new version as far as possible :)
Thibault Duchateau
@tduchateau
;-)
Rizzi
@RizziCR
hmm.. i remove the hardcoded li-tag form the js you pointed at, but same result as before
i remove the hardcoded part and add the all-value to the lists where it have to be. now it’s twice in this lists ;)
Rizzi
@RizziCR
ok.. its line 367
:)
Rizzi
@RizziCR
hiho
Rizzi
@RizziCR
Hi, i have a problem resetting the filter on external form. I use the legacy plugin fnFilterClear with dandelions dt 0.10.1.
Resetting the global search field works, also resetting the filters from the external form (internally), but the input fields selfs don’t get resetet. They stay at the value selected before.
Thibault Duchateau
@tduchateau
Hi Rizzy. Please provide a static example where I can reproduce the issue.
Rizzi
@RizziCR
It’s not a issue.
I see a comment in the plugin code -> "Remove the search text for the column filters - NOTE - if you have input boxes for these filters, these will need to be reset"
so.. the plugin don’t reset the input boxes
need to modify these plugin
generate 0.10.1 somewhere a link to the external form inputs/placeholders in the settings?
Thibault Duchateau
@tduchateau
I don't understand. What are u looking for?
Rizzi
@RizziCR
i don’t find sSelector in oSettings ;)
in short. but i very tired. i think i have to take a break and starting over with fresh energy
tomorow
Rizzi
@RizziCR
or.. i miss something. is there already a filter reset method inside your jquery.dataTables.columnFilter.js
i have to go to bed. sorry for my panic making :) my brain is already in bed for 2 hours. only the rest of me trying to code some useful stuff :P
Rizzi
@RizziCR
but it seems without luck ;)