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
Ig y
If you have other ideas of components where Dandelion could help, feel free to share. I'll look into it
Rizzi
@RizziCR
for sure ;)
for the new projects i complete switch to dandelion for js and css management
it’s so nice to handle the different version in one place ;)
Thibault Duchateau
@tduchateau
:-)
<3
Rizzi
@RizziCR
i don’t know if i ask it before, but is there a way to declare different column property on using server-side ?
if i had a column with contacts, with a select box filter
to display user contact.initial but for filter use contact.id
with datatables i can managed this with mData and sName
Thibault Duchateau
@tduchateau
I don't think you can
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