LiveTable filter by date

Version 5.1 by Zoubir Medjdoub on 2014/08/17 16:22

cogAdd date pckier to LiveTable in order to filter by Date
TypeXAR
Category
Developed by

Zoubir Medjdoub

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Enterprise, XWiki Enterprise Manager

Description

This extension contain a xar that allow you to filter by date in the livetable, once you click on the concerned field (specified by "type": "datetime"), a datepicker will be displayed in order to filter, you can see this in the screen above : 

Example

  
{{include document="XWiki.LiveTableCustom" /}}
{{velocity}}
#set ($columnsProperties = {
 'doc.name': {"type":"text","size":10,"link":"view"},
 'doc.space': {"type":"text","size":20,"link":"view"},
 'doc.author': {"type":"text","size":10},
 'doc.date': {"type":"datetime","size":10}
})
#set ($options = {
 'translationPrefix' : 'platform.index.',
 'selectedColumn': 'doc.date',
 'defaultOrder': 'desc'
})
#set ($columns = ['doc.name', 'doc.space', 'doc.author', 'doc.date'])
#livetableCustom('livetabledate' $columns $columnsProperties $options)

{{/velocity}}

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes

v1.0

Initial version

Tags: livetable
    

Get Connected