
META-INF.datatables4j.tld Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datatables4j-core-jsp Show documentation
Show all versions of datatables4j-core-jsp Show documentation
JSP implementation of DataTables4j
The newest version!
0.8.1
1.2
datatables
http://github.com/datatables4j
DataTables4j
Set of tags for manipulating HTML table with
DataTables.
com.github.datatables4j.core.jsp.tlv.DataTables4jTlv
DataTables4j taglib validator
table
com.github.datatables4j.core.jsp.tag.TableTag
com.github.datatables4j.core.jsp.tei.TableTagExtraInfo
JSP
Generate a HTML table thanks to the awesome
DataTables jQuery plugin.
id
true
(required) DOM id of the HTML table.
data
true
java.lang.Object
Collection of data used to populate the table.
(Either data or url attribute is required)
url
true
Web service URL used to populate the table.
(Either data or url attribute is required)
row
true
Name of the object representing the current
row.
If
data must be displayed without any decoration,
use
property
attribute on column tag.
appear
(block|fadein[,duration]) Display mode used when
the table has finished loading and must appear in the page.
A duration
can be set (in milliseconds) if the display mode
is set to
"fadein". (Default : "fadein")
jsonp
(true|false) Allows to retrieve JSON data from any
domain name, regardless of XSS protection.
cdn
(true|false) Enable the DataTables source files
to
be loaded
from the Microsoft CDN (Content Delivery
Framework)
preventing you from hosting the files
yourself. (Default :
false)
cssStyle
CSS style applied on the HTML table. (HTML
style
attribute)
cssClass
CSS class(es) applied on the HTML table. (HTML
class attribute)
rowIdBase
true
Useful if you want each row has a DOM id. This
attribute is evaluated as a property of the current
iterated
bean. (Only if DOM datasource)
rowIdPrefix
true
String which is prepended to the rowIdBase
attribute, in order to build row id. (HTML id attribute)
rowIdSufix
true
String which is appended to the rowIdBase
attribute, in order to build row id. (HTML id attribute)
labels
true
Base URL of an AJAX loaded file which contains
all
the
labels used in tables. (See :
http://www.datatables.net/release-datatables/examples/advanced_init/language_file.html)
deferRender
(true|false) Defer the creation of the table
elements for each row until they are needed for a draw.
(Default : false, see
http://datatables.net/ref#bDeferRender)
info
(true|false) Enable or disable the table
information display. This shows information about the
data
that is currently visible on the page, including
information
about filtered data if that action is being
performed.
(Default : true, see
http://datatables.net/ref#bInfo)
paginate
(true|false) Enable or disable pagination.
(Default : true, see
http://datatables.net/ref#bPaginate)
lengthChange
(true|false) If paginate is enabled, allows the
end user to select the size of a formatted page from a
select menu (sizes are 10, 25, 50 and 100). (Default :
true,
see http://datatables.net/ref#bLengthChange)
paginationType
(two_button|full_numbers) Choice between the
two
different built-in pagination interaction methods
('two_button' or 'full_numbers') which present different
page controls to the end user. (Default : two_button,
see
http://datatables.net/ref#sPaginationType)
filter
(true|false) Enable or disable filtering of
data.
(Default : true, see
http://datatables.net/ref#bFilter)
sort
(true|false) Enable or disable sorting of all
columns.
Sorting of individual columns can be disabled by
the
"sortable" attribute of column tag. (Default : true,
see
http://datatables.net/ref#bSort)
autoWidth
java.lang.Boolean
(true|false) Enable or disable automatic column
width calculation. (Default : true, see
http://datatables.net/ref#bAutoWidth)
processing
(true|false) Enable or disable the display of a
'processing' indicator when the table is being processed
(e.g. a sort). This is particularly useful for tables
with
large amounts of data where it can take a noticeable
amount
of time to sort the entries. (Default : false, see
http://datatables.net/ref#bProcessing)
serverSide
Configure DataTables to use server-side processing
pipelining
Enable pipelining data for paging when server-side
processing is enabled
pipeSize
Pipe size used when pipelining is enabled, ie
times that the user can page before a request must be made
of the server. (Default : 5)
stateSave
(true|false) Enable or disable state saving.
When
enabled a cookie will be used to save table display
information such as pagination information, display
length,
filtering and sorting. As such when the end user
reloads the
page the display display will match what thy
had previously
set up. (Default : false, see
http://datatables.net/ref#bStateSave)
export
(true|false) Enable or disable the export
functionality
exportLinks
(TOP_LEFT|TOP_MIDDLE|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_MIDDLE|BOTTOM_RIGHT)
Comma-separated list of positions where the export
links will
be generated (Default : TOP_RIGHT)
jqueryUI
(true|false) Enable jQuery UI ThemeRoller
support
(Default : false, see
http://datatables.net/ref#bJQueryUI)
footer
(header) Choose if you want to have the footer
appear.
(Default : none)
theme
Name of a theme to activate for the current table.
(Default : none)
themeOption
Name of an option to activate in relation to the
current activated theme.
fixedHeader
(true|false) Enable or disable the DataTables
FixedHeader plugin. (Default : false) (See :
http://datatables.net/extras/fixedheader/)
fixedPosition
(top|bottom|left|right) Respectively fix the
header, footer, left column, right column. (Default :
top)
offsetTop
Offset applied on the top.
java.lang.Integer
scroller
(true|false) Enable or disable the DataTables
Scroller plugin. (Default : false) (See :
http://datatables.net/extras/scroller/)
scrollY
Table's height to display in scrolling mode.
(default : 300px)
colReorder
(true|false) Enable or disable the DataTables
ColReorder plugin. (Default : false) (See :
http://datatables.net/extras/colreorder/)
columnHead
com.github.datatables4j.core.jsp.tag.ColumnHeadTag
JSP
Allows to fill a column header with more complex
content than a usual title.
uid
true
Unique arbitrary id of the column, used in
relation to the column tag.
column
com.github.datatables4j.core.jsp.tag.ColumnTag
JSP
Describe a column of the HTML table.
uid
true
Unique arbitrary id of the column, used in
relation to the columnHead tag
title
true
Column title.
property
Name of the attribute of the current object
being
iterated object on, regardless the data source (DOM
or AJAX)
default
Default value if the property's value is null (Default : empty string)
sortable
(true|false) Enable or disable sorting on
column.
(Default : true)
sortInit
(asc|desc) If sortable is enabled, set the
default
sorting direction (Default : asc)
sortDirection
If sortable is enabled, allow to control the
sorting direction(s)
filterable
(true|false) Enable or disable filtering on
column. (Default : true)
filterType
(SELECT|INPUT) If filterable is enabled, you
can
choose the filter type between 'SELECT' and 'INPUT',
adding
either select box or input field in the table's
footer
(Default : INPUT)
filterCssClass
If filterable is enabled and filterType is
'INPUT', you can apply a CSS class to the input field
with
this attribute
filterPlaceholder
If filterable is enabled and filterType is
'INPUT', fill in the input field with this attribute
(Default : the column's title)
cssStyle
CSS style applied on header cell (th HTML tag)
cssCellStyle
CSS style applied on every table cell (td HTML
tag)
cssClass
CSS class applied on header cell (th HTML tag)
cssCellClass
CSS class applied on every table cell (td HTML
tag)
display
(ALL[,HTML|,XML|,CSV]) Comma-separated list of
string which indicates in which view(s) the column's body
will be displayed. (Default : ALL)
extraFile
com.github.datatables4j.core.jsp.tag.ExtraFileTag
empty
src
true
true
Location of the file containing DataTables
configuration.
insert
(BEFOREALL|AFTERSTARTDOCUMENTREADY|BEFORENDDOCUMENTREADY|AFTERALL)
Specify where the extra file must be inserted. (Default
:
BEFOREALL)
extraConf
com.github.datatables4j.core.jsp.tag.ExtraConfTag
empty
Allow to specify the location of a file containing
a
JSON-formatted DataTables configuration to merge with the
generated one.
src
true
true
Location of the file containing the extra
DataTables configuration
Allow to override properties normally defined in
the
DataTables4j properties file.
prop
com.github.datatables4j.core.jsp.tag.PropTag
empty
name
true
Property's name to override.
value
true
Property's value to override.
export
com.github.datatables4j.core.jsp.tag.ExportTag
empty
Configure the HTML link and properties for a given
export type.
type
true
(XML|CSV) Type of export (Default : XML,CSV)
fileName
true
Name of the file containing exported data
(Default
: the export type uppercased)
label
true
Label of the HTML link
cssStyle
CSS style applied to the HTML link
cssClass
CSS class applied to the HTML link
includeHeader
(true|false) Indicated whether headers should
be
added in export or not (for compatible export)
(Default :
true)
autoSize
(true|false) Indicates whether columns should be
auto-sized or not (only for XLS export)
(Default : true)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy