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
just kidding ;)
Thibault Duchateau
@tduchateau
simply because now we stick to http://semver.org/ and because I have no time to review this kind of release
if we were 10 dev in the team, I may have answer differently, but that's not the case :-)
Rizzi
@RizziCR
i take a look if the 1.10. version of datatables allow this too
Rizzi
@RizziCR
https://datatables.net/reference/option/columns.data
this could be what i’m looking for
Thibault Duchateau
@tduchateau
absolutely
Rizzi
@RizziCR
much better implemented as in 1.9 and older
Thibault Duchateau
@tduchateau
this could be done in Dandelion-Datatables via new column attributes such as filterProperty, sortProperty, displayProperty being the current property attribute
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