These are chat archives for dandelion/dandelion-datatables

4th
Jul 2015
Rizzi
@RizziCR
Jul 04 2015 15:07
how can i predefine a filter ?
not predefine, default value
i use a external form for some extra filters
there is a select box with all users inside
i want to preselect the current logged in user
but also with possibility to store the filters in the datatables cookie
damn.. u release 1.0.0 :D
nice one!
Rizzi
@RizziCR
Jul 04 2015 15:13
where are the 0.10.1 docs? :D
Thibault Duchateau
@tduchateau
Jul 04 2015 16:23
Hi. Gone unfortunately. The documentation generation is totally different, and it was a headache to keep old docs. Starting from 1.0.0, I can easily version documentation.
by the way, the 1.0.1 has been released ;-)
Rizzi
@RizziCR
Jul 04 2015 16:23
uuhhhhhh
:D
you use markup docs
Thibault Duchateau
@tduchateau
Jul 04 2015 16:23
Looking at your filter question..
Rizzi
@RizziCR
Jul 04 2015 16:23
this is a nice tool/feature
Thibault Duchateau
@tduchateau
Jul 04 2015 16:24
sure! I <3 asciidoctor
Rizzi
@RizziCR
Jul 04 2015 16:24
i want to use it for my next project.. its a api with swagger
Thibault Duchateau
@tduchateau
Jul 04 2015 16:24
yep
I didn't know you could customize the generated html
It seems possible with yadcf to initialize a filtering control
Rizzi
@RizziCR
Jul 04 2015 16:26
yes..
but i have no time to update to the new version
;)
Thibault Duchateau
@tduchateau
Jul 04 2015 16:27
anyway, not available before the v1.1.0
Rizzi
@RizziCR
Jul 04 2015 16:27
first release in 4 days
it’s not a high prio problem. but a nice to have feature
yadcf not before 1.1 ?
Thibault Duchateau
@tduchateau
Jul 04 2015 16:28
first support initialized in 1.0.0. Now more support will be added in next version: 1.1.0
Using the 0.10.1, maybe it's possible with an initCallback and custom JavaScript but I didn't try it myself
Rizzi
@RizziCR
Jul 04 2015 16:28
ok.
my first try was to modify the cookie on page load
but as said.. its not a must have for the customer..
so.. not wasting time for it, if there aren’t a quick solution
he must then wait for the next release
Thibault Duchateau
@tduchateau
Jul 04 2015 16:32
ok
Rizzi
@RizziCR
Jul 04 2015 16:32
^^
Rizzi
@RizziCR
Jul 04 2015 16:37
i see, you add me to the team page. i create also a gmail adresse and use them already on github. can you change the current one to my new address? christoph.rizzotti@gmail.com
thx
Thibault Duchateau
@tduchateau
Jul 04 2015 16:38
sure
soon published
Rizzi
@RizziCR
Jul 04 2015 16:39
there’s no hurry ;)
as you have time
Thibault Duchateau
@tduchateau
Jul 04 2015 16:41
fixed ;-)
Rizzi
@RizziCR
Jul 04 2015 16:54
do you know a alternative for http://fullcalendar.io ?
Thibault Duchateau
@tduchateau
Jul 04 2015 16:55
Nop sorry. I often use https://bootstrap-datepicker.readthedocs.org, but it's not a "calendar" as you are looking for
Rizzi
@RizziCR
Jul 04 2015 16:55
its a nice project. but its not customizable enough for me
but i didn’t find a project that works like this one.. so.. rebuild it that its work as „expected“ :P
Thibault Duchateau
@tduchateau
Jul 04 2015 16:58
Ig y
If you have other ideas of components where Dandelion could help, feel free to share. I'll look into it
Rizzi
@RizziCR
Jul 04 2015 17:00
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
Jul 04 2015 17:04
:-)
<3
Rizzi
@RizziCR
Jul 04 2015 23:08
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
Jul 04 2015 23:11
I don't think you can
but feel free to propose a PR for that when you have time ;-)
Rizzi
@RizziCR
Jul 04 2015 23:12
:D
ok ;)
is it ok to build it for 0.10.1 ?
Thibault Duchateau
@tduchateau
Jul 04 2015 23:12
nop :-/
Rizzi
@RizziCR
Jul 04 2015 23:13
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
Jul 04 2015 23:17
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
Jul 04 2015 23:17
why? :P
just kidding ;)
Thibault Duchateau
@tduchateau
Jul 04 2015 23:18
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
Jul 04 2015 23:22
i take a look if the 1.10. version of datatables allow this too
Rizzi
@RizziCR
Jul 04 2015 23:40
https://datatables.net/reference/option/columns.data
this could be what i’m looking for
Thibault Duchateau
@tduchateau
Jul 04 2015 23:42
absolutely
Rizzi
@RizziCR
Jul 04 2015 23:43
much better implemented as in 1.9 and older
Thibault Duchateau
@tduchateau
Jul 04 2015 23:44
this could be done in Dandelion-Datatables via new column attributes such as filterProperty, sortProperty, displayProperty being the current property attribute
Rizzi
@RizziCR
Jul 04 2015 23:44
yes
Thibault Duchateau
@tduchateau
Jul 04 2015 23:44
edit
Rizzi
@RizziCR
Jul 04 2015 23:45
property should then be the default „_“ and if the others are set, add them to the object
Thibault Duchateau
@tduchateau
Jul 04 2015 23:45
(and of course their Thymeleaf counterparts: dt:filterProperty, dt:sortProperty)
Rizzi
@RizziCR
Jul 04 2015 23:46
around end of the week or the week then. i think i have some time to build a PR for this
Thibault Duchateau
@tduchateau
Jul 04 2015 23:47
=> wip/1.1.0 ;-)
Rizzi
@RizziCR
Jul 04 2015 23:48
ok ;)
i update my fork of data tables now ;)
hmm.. first.. read docs how to do :D
i don’t understand github completely ;)