Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Thibault Duchateau
@tduchateau
but feel free to propose a PR for that when you have time ;-)
Rizzi
@RizziCR
:D
ok ;)
is it ok to build it for 0.10.1 ?
Thibault Duchateau
@tduchateau
nop :-/
Rizzi
@RizziCR
damn ;) i use it currently yet
then i build a server side workaround for it, and build the PR for the new version, after release the app this week
after release a will update to 1.0.1
and switch from jsp to thymleaf
Thibault Duchateau
@tduchateau
If you really need it, build your own version of dandelion-datatables and use it, but I will definitely not release a v0.10.2 or a v0.11.0, sorry
Rizzi
@RizziCR
why? :P
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
;-)