Allan Jardine
1c6f059eb4
Update src with change from #579
1 year ago
Przemyslaw Klys
aa82831640
Adds support for conditional colors to the percentageBars rendering function
...
This commit modifies the `DataTable.render.percentBar` function by adding the `conditionalColors` parameter to support conditional coloring of the percentage bars. If the `conditionalColors` parameter is provided, the function will iterate through the conditional colors array and apply the appropriate color based on the range specified. If `conditionalColors` is not provided, the function will default to the original color settings. These changes enable more customization of the appearance of the percentage bars.
1 year ago
Allan Jardine
e405113d46
Build latest - correct packaging errors
1 year ago
Allan Jardine
950f84e173
Update: CommonJS loader to support non-execution loading
2 years ago
Allan Jardine
44bd7c34bc
Fix: Missed jQuery dependency for a lot of plugins
2 years ago
Allan Jardine
87bb97dbb4
Complete transition to typescript and ESmodule + UMD loader for everything that will be included with the exception of i18n (upcoming)
2 years ago
Allan Jardine
4fff59b4ae
Working towards support for both UMD and ESM loadings for plug-ins
2 years ago
Anton
b926f43440
Update anchor.js
2 years ago
Anton
b2eacaade1
Update anchor.js
2 years ago
Anton
908306c271
Update anchor.js
2 years ago
Anton
2199ba4648
Update anchor.js
2 years ago
Anton
129757a12d
Update anchor.js
2 years ago
Anton
f31fba3d75
Add data renderer anchor
2 years ago
yaakovfeldman
40e3b46cd0
Ensure that data is string before escaping
2 years ago
yaakovfeldman
4d3a6850b9
Escape input even when no shortening required
2 years ago
Joost Molenkamp
d405f51abb
Use the set moment locale as a fallback instead of fixed 'en'
2 years ago
Allan Jardine
e75a62a99b
Renderer: Multi renderer
...
https://datatables.net/forums/discussion/67030/how-to-use-multiple-renderers#latest
4 years ago
LokeshBabuTG
6106331e05
implemented review comments
4 years ago
LokeshBabuTG
25ae6ae135
Added a new render hyperLink.js
...
This data rendering helper method can be useful when a hyperLink
4 years ago
Allan Jardine
3c731d416e
Renderer: moment - allow for empty values
5 years ago
Colin Marks
25e4eacb1d
DEV typo in doc
5 years ago
Allan Jardine
037cb53cdb
Duh
6 years ago
Allan Jardine
7a2f9ea2fb
Fix - docs: Moment datatime renderer
...
DD-621
6 years ago
Allan Jardine
1e09b225a5
Renderer: Improve doc comments
...
- DD-621
6 years ago
Luiz Felipe Aranha
8b4f1f1394
Update percentageBars.js
...
prevent d.replace() is not a function error when d is a number rather than string
7 years ago
Lele Gaifax
0bb0384662
Fix a typo preventing rendering of null dates
7 years ago
Drijkoningen Dirk
b324b2dd27
New features and bug fix
...
v1.1 Changelog
- Added a seventh border type parameter.
- All parameters are now optional.
- Improved styling.
- Bug fix: Text is always centered now.
8 years ago
radmax
8f9058f6bf
add missing extension
8 years ago
Drijkoningen Dirk
8057e87a8c
percentageBars
...
This data rendering helper method will convert percentage values into a bar. Values can either have the % sign or not and decimals get rounded to the given value. The percentage will have a max value of 100%.
8 years ago
Allan Jardine
89cc3a6280
Rendering: UMD loader for datetime formatter
8 years ago
Allan Jardine
cf2b89baef
New: Plug-ins for sorting and rendering using the Javascript Intl APIs
8 years ago
Allan Jardine
a4479c3976
Fix - data renderer: Multi-character escaping
...
- Thanks Epo
9 years ago
Allan Jardine
f8ba1e9755
Fix - data renderer: Ellipsis renderer was prematurely cutting off words that would actually fit into the available character count
...
- Thanks @smartcore - http://www.datatables.net/blog/2016-02-26
9 years ago
Allan Jardine
41cc62dfcb
New - Data renderer: Date / time date renderer that uses momentjs
9 years ago
Allan Jardine
1692a8e63c
Fix - renderer: Improvements for the ellipsis helper
...
- Support escaping HTML now
- HTML escapes the attibute
- Easier to read logic
9 years ago
Allan Jardine
d51fc04b42
Renderer: Ellipsis plug-in was overwriting any pre-exisiting renderers!
9 years ago
Allan Jardine
62a8a38042
Add `ellipsis` data rendering helper to the plug-ins.
...
This is a new category of plug-ins - they are functions that use the
orthogonal data options of DataTables 1.10 to provide formatting helper
functions. They do not directly interface with DataTables themselves,
but provide easy to use functions for developers to format their data in
the DataTable.
10 years ago