These are chat archives for dandelion/dandelion-datatables

6th
Jul 2015
Rizzi
@RizziCR
Jul 06 2015 10:42
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
Jul 06 2015 10:44
You can pass a custom set of predefined values
and in particular, an array of objects
Rizzi
@RizziCR
Jul 06 2015 10:45
i pass a jsonarray without the „all“ entry
that’s why i ask
Thibault Duchateau
@tduchateau
Jul 06 2015 10:46
let me have a look at the old filtering addon
Rizzi
@RizziCR
Jul 06 2015 10:46
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
Jul 06 2015 10:49
i already does :)
Thibault Duchateau
@tduchateau
Jul 06 2015 10:49
ok, great
Rizzi
@RizziCR
Jul 06 2015 10:50
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
Jul 06 2015 10:51
yep, old bug in the 0.10.x
you're welcome
Rizzi
@RizziCR
Jul 06 2015 10:52
one reason more to switch to the new version as far as possible :)
Thibault Duchateau
@tduchateau
Jul 06 2015 10:53
;-)
Rizzi
@RizziCR
Jul 06 2015 11:10
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
Jul 06 2015 11:17
ok.. its line 367
:)