Hi Dennis,
On Thu, Sep 15, 2016 at 6:01 PM, D R wrote:
> Hi,
>
> Is there a way to display additional things inside a Livetable field to
> interact with the field value shown?
>
> For example I have a livetable showing all application documents as
> follows:
>
> Name | Category | User | Password | Modify Date | Actions
>
> For every entry in the User and Password columns I want to provide a button
> to copy the respective field value to the clipboard. How can I modify the
> livetable to have additional elements alongside the field value?
>
You could do this with JavaScript, by listening to one of the events fired
by the live table. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI#HLivetableevents28livetable.js29
. Here's an example that might help
http://snippets.xwiki.org/xwiki/bin/view/Extension/Background+color+for+a+livetable
.
Hope this helps,
Marius
>
> Thanks in advance,
> Dennis
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users