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
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 ;)
good night
Jacob Chafik
@jchafik

Noticed an issue where yadcf doesn't allow you to clear filters. I opened a ticket where appropriate (with the yadcf project), but thought that I'd let you know here as well since it now impacts ddl-dt.

vedmack/yadcf#220

Thibault Duchateau
@tduchateau
Great. Thanks Jabob!
Jacob Chafik
@jchafik
No problem! Curious - do you know of any way that we can control the yadcf settings (e.g., overriding filter_default_value)? I'm not seeing any easy way to configure/extend YadcfConfigGenerator. Thank you for all the work you put into this project!
filter_default_label **
Thibault Duchateau
@tduchateau
No easy way indeed, at least for now. Feel free to open a new issue in dandelion-datatables and list of features you'd like to have. For now I only support a small subset of all yadcf features. This way I'll have a dev guideline :-)
Jacob Chafik
@jchafik
Will do - thanks!