Comments (4)
I don't think its that common - I don't immediately remember it, but then there are >21k threads in the forum now! What language options would you like to have loaded via Ajax? The button titles and the dialogue options I guess? It isn't something I'm working on yet, but I will look into it when I start work on the next major update to TableTools.
from tabletools.
Well, you know, it is easy to find it on Google just searching by TableTools oLanguage
, so I don`t create a new thread if there is one talking about it.
I think that the best way to load its defaults would be using the main DataTables language file, as commented by joelones in http://datatables.net/forums/discussion/19941/change-language-for-tabletools-buttons.
For example, adding option sToolTip
for all buttons (already exists for print
button) and sInfo
for copy
button:
{
"sEmptyTable": "No data available in table",
"sInfo": "Showing _START_ to _END_ of _TOTAL_ entries",
"sInfoEmpty": "Showing 0 to 0 of 0 entries",
"sInfoFiltered": "(filtered from _MAX_ total entries)",
"sInfoPostFix": "",
"sInfoThousands": ",",
"sLengthMenu": "Show _MENU_ entries",
"sLoadingRecords": "Loading...",
"sProcessing": "Processing...",
"sSearch": "Search:",
"sZeroRecords": "No matching records found",
"oPaginate": {
"sFirst": "First",
"sLast": "Last",
"sNext": "Next",
"sPrevious": "Previous"
},
"oAria": {
"sSortAscending": ": activate to sort column ascending",
"sSortDescending": ": activate to sort column descending"
},
"TableTools": {
"csv": {
"sButtonText": "CSV",
"sToolTip": "Save table as CSV"
},
"xls": {
"sButtonText": "Excel",
"sToolTip": "Save table for Excel"
},
"copy": {
"sButtonText": "Copy",
"sToolTip": "Copy table to the clipboard",
"sInfo": "<h6>Table copied</h6><p>Table copied to the clipboard.</p>"
},
"pdf": {
"sButtonText": "PDF",
"sToolTip": "Save table as PDF"
},
"print": {
"sButtonText": "Print",
"sInfo": "<h6>Print view</h6><p>Please use your browser's print function to print this table. Press escape when finished.</p>",
"sToolTip": "View print view"
},
"select": {
"sButtonText": "Select button",
"sToolTip": ""
},
"select_single": {
"sButtonText": "Select button",
"sToolTip": ""
},
"select_all": {
"sButtonText": "Select all",
"sToolTip": ""
},
"select_none": {
"sButtonText": "Deselect all",
"sToolTip": ""
},
"ajax": {
"sButtonText": "Ajax button",
"sToolTip": ""
},
"collection": {
"sButtonText": "Collection",
"sToolTip": ""
}
}
}
from tabletools.
Yup - sounds like a good idea and thanks for the link. I'll look into this when I start development of the next major version of TableTools.
from tabletools.
Going to close this in favour of the generic bug DataTables/DataTables #422
from tabletools.
Related Issues (20)
- IE Memory leak with ZeroClipboard_TableTools (fix included) HOT 2
- bower and .swf files HOT 1
- add package.json
- Safari Freezes after exporting to excel (Safari 9)
- Problems with ";" HOT 2
- Export Multiple Tables
- Single Button To Export Multiple Datatables On The Same Page HOT 1
- datatable not working when data fetch by ajax HOT 1
- error exporting HOT 1
- Add new own tab function to the TableTools HOT 2
- Export to Excel/PDF without flash HOT 1
- Buttons are not responsive when accessed by tab. HOT 4
- Not exporting all the columns HOT 3
- Old license in dataTables.tableTools.css, GPL v2 / 3 point BSD instead of MIT HOT 1
- Display table name in the exported pdf HOT 1
- Correct way to use Table tools ? Can't get save, copy button container to appear HOT 4
- Excel export: Filters not applied HOT 1
- _fnGetDataTablesData not replacing html properly
- Can not save files (csv/excel/pdf) in incognito mode HOT 6
- TableTools save button stop working after two successfull save command in IE 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabletools.