Giter Site home page Giter Site logo

datatablessrc's Introduction

DataTables - enhance HTML tables

This git repository contains the un-built source files for DataTables - an HTML table enhancing library. If you are looking to use DataTables, please use our download builder, which include CDN and package options, including NPM.

Installing DataTables

To use DataTables, the primary way to obtain the software is to use the DataTables downloader. You can also include the individual files from the DataTables CDN. See the documentation for full details.

NPM, NuGET and Composer

If you prefer to use a package manager such as NPM, NuGET or Composer, distribution repositories are available with software built from this repository under the name datatables.net. Styling packages for Bootstrap, Foundation and other styling libraries are also available by adding a suffix to the package name.

Please see the DataTables download page for further information. The DataTables installation manual also has details on how to use package managers with DataTables.

Building

DataTables can be built using the make.sh script in the /build directory of this repo. Simply check out the repo, cd into the build folder and run bash make.sh --help to get a full list of the options available for the build process. bash make.sh build will be the most common (with bash make.sh build debug available for quick testing - it skips the minification steps for speed).

A number of programs are required out your computer to be able to build DataTables:

  • Bash
  • PHP 7+
  • Node.js 20+

The build script assumes that a Mac or Linux environment is being used (Windows builds can be made with WSL). Additionally, you may need to alter the paths for the above programs to reflect where they are installed on your own computer - this can be done in the build/include.sh script.

The output files are placed into built/DataTables/ which is a temporary directory. No changes should be made in that directory as they will be overwritten when you next build the software.

To run locally, do the following

git clone https://github.com/DataTables/DataTablesSrc
cd DataTablesSrc
cd build
./make.sh examples
./make.sh build
cd ../built/examples
php -S localhost:8300

and now open http://localhost:8300/examples/

Documentation

Full documentation of the DataTables options, API and plug-in interface are available on the DataTables web-site. The site also contains information on the wide variety of plug-ins that are available for DataTables, which can be used to enhance and customise your table even further.

Support

Support for DataTables is available through the DataTables forums and commercial support options are available.

License

DataTables is release under the MIT license. You are free to use, modify and distribute this software, but all copyright information must remain.

datatablessrc's People

Contributors

adilapapaya avatar alexhenrie avatar allanjard avatar apeschar avatar bytestream avatar colin0117 avatar ferrarimartin avatar gauravmak avatar jmolenkamp avatar jvb187 avatar kickofitall avatar kycook avatar markvantilburg avatar muellermatthew avatar netaisllc avatar petah avatar rikkert avatar salim114 avatar sandydatatables avatar skylord123 avatar strang91 avatar taskinoz avatar thegrandpoobah avatar thenephalim avatar thomasbuckle-uk avatar timtucker avatar tombuckle-uk avatar tziporaziegler avatar vanillajonathan avatar xpaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datatablessrc's Issues

slow tooltips on macOS High Sierra on Chrome/Safari/Firefox

Steps to reproduce:

  1. Create a dataTable with buttons and each button has a titleAttr property to enable a tooltip on hover.
  2. Browse this datable using latest Chrome or Safari on macOS High Sierra
  3. Tooltip takes 2000-3000 ms to show up

Expected behavior:
Tooltip takes 1000ms to show up on Firefox on Linux/Windows

Wrong `justify-content` in paginate and a couple general comments

Hi, there.

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-end; /* <-- this one */
}

The above is wrong, at least for small resolutions.

paginate

Ideally the paginate should be wrapped in a nav with proper aria-labels.

A couple of general comments:

  • you are overqualifying your selectors; there's no need to do div.dataTables_wrapper div.dataTables_paginate ul.pagination for example. But I guess changing this would require a lot of changes because it's something done across the whole code base
  • Bootstrap supports responsive tables out of the box (https://getbootstrap.com/docs/4.1/content/tables/#responsive-tables); With v1.10.16 I could just wrap the table in a .table-responsive div as per our docs. But with v1.10.18, the table shows the horizontal overflow and I have to do this:
table.dataTable {
    max-width: 100% !important;
}

Would be nice if this was restored to what it was in v1.10.16.

pagination - disabled element should not be focusable

Hello,

we use your tool as a third party tool and love it 🥇
one ours users send us a message and I would say he found a little bug

we noticed that the previous/next button on the Datatable pagination were still focusable when they where disabled. It is usually common practice to prevent focus on disabled elements. The answer is to tabindex="-1" these elements.

I take a look and would say this is the class there to change it
https://github.com/DataTables/DataTablesSrc/blob/master/js/ext/ext.paging.js

for people with a handicap is this might be a nice improvement

best regards

Ajax sourced data - handling success response (status: 200) with empty collections

When a GET request is made to a Restful API that returns a 200 - OK, but has no data to offer and hence returns an empty collection ({} or []), following error is thrown by DataTables:

jquery.dataTables.js:4745 Uncaught TypeError: Cannot read property 'length' of undefined
    at jquery.dataTables.js:4745
    at callback (jquery.dataTables.js:3865)
    at Object.success (jquery.dataTables.js:3895)
    at fire (jquery.js:3291)
    at Object.fireWith [as resolveWith] (jquery.js:3421)
    at done (jquery.js:9533)
    at XMLHttpRequest.<anonymous> (jquery.js:9785)

Tracing inside the jquery.dataTables.js:

 4739                         // if there is an ajax source load the data
 4740                         if ( dataSrc == 'ajax' ) {
 4741                                 _fnBuildAjax( settings, [], function(json) {
 4742                                         var aData = _fnAjaxDataSrc( settings, json );
 4743 
 4744                                         // Got the data - add it to the table
 4745                                         for ( i=0 ; i<aData.length ; i++ ) {
 4746                                                 _fnAddData( settings, aData[i] );
 4747                                         }
 4748 
 4749                                         // Reset the init display for cookie saving. We've already done
 4750                                         // a filter, and therefore cleared it before. So we need to make
 4751                                         // it appear 'fresh'
 4752                                         settings.iInitDisplayStart = iAjaxStart;
 4753 
 4754                                         _fnReDraw( settings );
 4755 
 4756                                         _fnProcessingDisplay( settings, false );
 4757                                         _fnInitComplete( settings, json );
 4758                                 }, settings );
 4759                         }

At line 4745, it appears that a check for existence of rows in the returned dataset is required, prior to iterating over them.

I am using version 1.10.20.

Kindly review. I would be happy to submit a PR.

Language XHR loading improvements

A number of things that should be improved here:

  1. Data and language should be able to share the same XHR
  2. If they don't then the language XHR should offer basically the same options as the data XHR (configuration as an object, etc)
  3. Priority should be definable for Ajax info or the local info be to be given priority (currently its is the Ajax info that will take priority).

Related thread.

`date-pre` formatter return -Infinity for the `1970-01-01` cell value during sort

When DataTables processes the table sort by column with stringified date value (1970-01-01) it uses the date-pre formatter for retrieving the data used by sorting function:

		"date-pre": function ( d ) {
			return Date.parse( d ) || -Infinity;
		},

And if formatted string is the 1970-01-01 the Date.parse('1970-01-01') returns 0 so the formatter returns the -Infinity. That is why this row will be always first or last when sorting by this column.

Dist-DataTables-Bootstrap not updated

In the 1.10.15 tag of the repo there is correct support for Boostrap version 4-alpha6, this is not reflected however in the corresponding published version (1.10.15) of Dist-DataTables-Bootstrap, in which for example the page-link class is not set on pagination links.

Is it possible to release a new version of the Dist-DataTables-Bootstrap package? Or will we need to wait until 1.10.16 is released?

Kind regards,

Bas Tuijnman
24i

"Cannot read property 'id'" of nTr error

This issue can occur when a $row.data(new_data) is called on a row whose TR element has not been rendered (e.g. my table has 500 rows, I've only rendered the first page, and I'm going to modify row 350). The offending line is in api.rows.js:

		if ( $.isArray( data ) && row.nTr.id ) {
			_fnSetObjectDataFn( ctx[0].rowId )( data, row.nTr.id );
		}

Assuming that _fnSetObjectDataFn does not need to be called in these circumstances, would the below change be sufficient to fix the issue?

		if ( $.isArray( data ) && row.nTr && row.nTr.id ) {
			_fnSetObjectDataFn( ctx[0].rowId )( data, row.nTr.id );
		}

Browser support for Safari 10.0.2 is unclear for excelHtml5 button

I'm working with the excelHtml5 button:
https://datatables.net/reference/button/excelHtml5

According to the browser support documentation, Safari 10.0.1 and earlier are not supported:

Safari: Yes (tech preview 18+) Safari 10.0.1 and earlier are not supported.

The latest version of Safari is 10.0.2:
https://en.wikipedia.org/wiki/Safari_version_history

Is this version supported or not?

The code excludes all Safari, regardless of the version, with !_isSafari():

    DataTable.ext.buttons.excelHtml5 = {
        className: 'buttons-excel buttons-html5',

        available: function () {
            return window.FileReader !== undefined
                && _jsZip() !== undefined
                && !_isSafari()
                && _serialiser;
        },

...

Either the documentation needs to be updated to say that Safari 10.0.2 and earlier is not supported, or the code needs to be updated to check the browser version to only exclude old versions of Safari with something like:

return window.FileReader !== undefined
    && _jsZip() !== undefined
    && (!_isSafari() || parseFloat(navigator.userAgent.match(/safari\/(\d(.+\d)?)/i)[1]) > 602.2)
    && _serialiser;

Datatables _fnSetObjectDataFn function does not store array types correctly

Fix for _fnSetObjectDataFn required to handle storing of array types correctly.
Already open a forum entry. Also I already fixed it on a local branch. If you give me rights for branch upload I can provide the fix to you.

  • arrayNotation = aLast.match(__reArray);
    +var join = arrayNotation[0].substring(1, arrayNotation[0].length-1);
    +var r = val.length > 0 ? val.split(join) : [];
  • data[ aLast.replace(__reArray, '') ] = r;
  • data[ aLast.replace(__reArray, '') ] = val;

The color of the tables' body should be set

Hi,

First of all, I'm using the default theme as an example. It should apply to other themes as well.

Now the default theme of datatables sets the "background-color" to "white", but not the "color" of the table. It causes an issue that the users will see a blank table when the color of the whole page is set to "white" (for example, in a dark theme).

In addition, from the below screenshot we can know that all other font elements of the table are using #333 as the font color. The only exception is the table body. I don't know if there's any special reason for doing that.

So my suggestion is that datatables should set the color to "#333" explicitly.

Thanks.

(This issue is originally discussed at rstudio/DT#767 , if you are interested)

When we set the color of the page to white, the content of the table is missing

image

dataTables_empty class should also be available on TR

When a table is empty there is the following tbody :

<tbody>
   <tr class="odd">
      <td valign="top" colspan="3" class="dataTables_empty">
         Aucune donnée disponible dans le tableau
      </td>
   </tr>
</tbody>

I think it would be reliable to also apply "dataTables_empty" class to the TR too.

Closure compiler install path issue..

running
running ./make.sh js requires the closure compiler in the following dir on OSX (10.10.3):
/usr/local/closure_compiler/compiler.jar which is a nonexisting path if the closure compiler is installed by for example NPM: /usr/local/lib/node_modules/google-closure-compiler/compiler.jar
Of course it's madness to check all possible paths for the google closure compiler. What I did, was to add a symlink to where I have the closure compiler installed:

mkdir /usr/local/closure_compiler
cd /usr/local/closure_compiler
ln -s compiler.jar /usr/local/lib/node_modules/google-closure-compiler/compiler.jar

Foundation 6 Style Class for Processing Div

When using the option processing: true in addition to the foundation style sheet, the class panel is applied to the processing div.

In Foundation 5, .panel was available and relatively similar to the Bootstrap component of the same name. In Foundation 6, that has become .callout.

If using the scss version of Foundation, there's a relatively simple workaround:

.panel {
    @include callout($white);
    z-index: 10; // Appears behind table without specifying z-index
}

If datatables are used with tabs you need workaround or functionality won't work

I've been playing with DataTables for a while now and when I tried using tabs it wouldn't work.

Here's the code that shows DataTables when using Tabs with a workaround in place.

https://github.com/EvotecIT/PSWriteHTML/blob/master/Examples/Example10-TableAndTabs/Example10.html

Workaround used:

                        <script>
                            $(document).ready(function () {
                                $('.tabs').on('click', 'a', function (event) {
                                    if ($(event.currentTarget).attr("data-id") == "Tab-z8iusm9b" && !$
                                        .fn.dataTable.isDataTable("#DT-UrISSjZo")) {
                                        $('#DT-UrISSjZo').DataTable({
                                            "dom": "Bfrtip",
                                            "buttons": [
                                                "copyHtml5",
                                                "excelHtml5",
                                                "csvHtml5",
                                                "pdfHtml5"
                                            ],
                                            "colReorder": true,
                                            "paging": true,
                                            "pagingType": [
                                                "full_numbers"
                                            ],
                                            "lengthMenu": [
                                                [
                                                    15,
                                                    25,
                                                    50,
                                                    100
                                                ],
                                                -1,
                                                [
                                                    15,
                                                    25,
                                                    50,
                                                    100
                                                ],
                                                "All"
                                            ],
                                            "ordering": true,
                                            "info": true,
                                            "procesing": true,
                                            "responsive": {
                                                "details": true
                                            },
                                            "select": true,
                                            "searching": true,
                                            "stateSave": true
                                        });
                                    };
                                });
                            });
                        </script>

Using code as below on 2nd or any other tab would result in disabled functionality.

                        <script>
                            $(document).ready(function () {
                                $('#DT-jGvLYgRV').DataTable({
                                    "dom": "Bfrtip",
                                    "buttons": [
                                        "copyHtml5",
                                        "excelHtml5",
                                        "csvHtml5",
                                        "pdfHtml5"
                                    ],
                                    "colReorder": true,
                                    "paging": true,
                                    "pagingType": [
                                        "full_numbers"
                                    ],
                                    "lengthMenu": [
                                        [
                                            15,
                                            25,
                                            50,
                                            100
                                        ],
                                        -1,
                                        [
                                            15,
                                            25,
                                            50,
                                            100
                                        ],
                                        "All"
                                    ],
                                    "ordering": true,
                                    "info": true,
                                    "procesing": true,
                                    "responsive": {
                                        "details": true
                                    },
                                    "select": true,
                                    "searching": true,
                                    "stateSave": true
                                });
                            });
                        </script>

Filter API not filtering rows

This is the code I'm using for a column filter based on the numeric value. It currently does absolutely nothing on the rendered table. I have tried this both with and without draw(), since the few examples I can find for filter() do not use it; the result is the same in both cases.

input.on('change', function() {
    var val = parseFloat($(this).val());
    column.data().filter(function(cell, i) {
        if (!isNaN(val) && (cell > val)) {
            return false;
        }
        return true;
    }).draw();
});

I need multiple columns to be used to filter rows separately based on their own input fields. To do this using a single table-wide function as described in the date-range example is not ideal. Given the sparse documentation in general, and specifically on the use of filter(), it's difficult to know what the exact issue is, or even how this function is supposed to behave and was designed to be used.

This lack of effect is evident using the following JSFiddle (not mine), which references 1.10.7, but I'm seeing the same behavior in 1.10.10: SphinX/0oya4h64

Tags/release versions

Hi, I'm posting my request here because it is directly connected to GitHub. I have noticed that there is a bit of variety in the tagged version numbers here in this repository. As the Debian maintainer for DataTables, I am monitoring the version numbers tagged in this repo to detect new upstream versions released by the DataTables team for packaging.

However, recently a number of tags with version numbers >=3 (e.g. 3.2.2 -> https://github.com/DataTables/DataTablesSrc/releases/tag/3.2.2) have been pushed to this repo, the most recent of which all reference commit 6382fb4:

screen shot 2016-12-28 at 12 33 01

This surprised me a bit, given that the version numbering scheme has been 1.10.x up to now. I was wondering whether these tags really reference a released version or whether they were tagged by accident?

Data attribute for language sub-properties

Right now you can use the language property to change the texts. And you can use the language data-attribute to change the text. But you can't mix both!

I would like to override the language properties with some custom text for a specific table, using the data-attribute.

For example, I have the following default script:

$('.example').DataTable( {
    language: {
      "sSearch": "Search in the data:",
      "sEmptyTable": "No results",
    }
} );

Notice the use of the class in the selector .example. I use that because I want to use above snippet for every table.

Now, one table needs an custom sEmptyTable message. I tried to do the following:

<table class="example" data-language='{"sEmptyTable": "Nothing here!"}'>
  <tr><td>data...</td></tr>
</table>

Aldo the data-attribute takes preference over the property (which is great), it does not account for sub-properties, and just override the whole language setting. Thus my custom sSearch message will be reset to the default.

What I expected to see, was still the use of my sSearch text.

I also tried the following, but as stated here that is not supported:

<table class="example" 
  data-language-sEmptyTable="Nothing here!"
  data-language--sEmptyTable="Nothing here!"
  data-language-s-empty-table="Nothing here!">
  <tr><td>data...</td></tr>
</table>

[Bootstrap 4] .container-fluid added to table reduces table width

The following <div> is being automatically wrapped around any table that's using DataTables. This seems like a bug. I can't think of any functional or aesthetic reason why a .container-fluid would be required to be wrapped around the table, reducing its width compared to other tables.

Is there a way to fix this or disable the behavior?

<div id="reports_wrapper" class="dataTables_wrapper container-fluid dt-bootstrap4 no-footer">

Please post your code for parsing the XML documentation files

Is there any chance we could get code (in PHP or whatever else) for parsing and/or generating html from the documentation XML files? I'm sure you have the code somewhere if you have your documentation pages generated from that, so if you could provide some of that code for others to use, it may allow someone else to create a generator for pdf, local html, or other formats (like a Dash docset).

I've been really wanting a Dash docset for DataTables, but if there's code somewhere for parsing the xml files, I'd rather use that as a starting point instead of creating something from scratch.

Allow overriding language.url

If you have something like

"language": { "url": "/path/to/language.json" }

you can't override that like this:

"language": { "url": "/path/to/language.json", "search": "Whatever String" }

Filtering performed both in search and draw

Hi!

I've being profiling search functionality and it came in view that when doing dt.column(0).search(...).draw() DT runs filtering twice. First time when search is called, then second time with draw. That looks a bit weird. I might not understand if there is any underlying reasons that covers, but it looks like a bug. From my understanding, search to be actually output to UI need to be finished with draw call, thus I have question is there a need to perform actual search twice? In case I chain up multiple search calls and finish that with draw call, then I'll get multiple passes. Searches are not identical, however. The difference is in 3rd parameter (iForce) passed into _fnFilterComplete.

Is this real issue? Am I missing something?

"Show entries " propeties are not working with 200 entries

<title>Sortable, searchable, paginated tables with knitr and jquery.DataTables</title> <script src="https://harunyahya-kitap.github.io/assets/js/jquery-3.3.1.min.js"></script> <script src="https://harunyahya-kitap.github.io/assets/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.min.js"></script> <script src="https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.min.js"></script> <script> $(document).ready(function() { $('#example').DataTable( { responsive: true }); } ); </script>
NO NAME PDF DOC ePub
22 Alay Denen Zulüm PDF↓ DOC↓ ePub↓
23 Allah Akılla Bilinir PDF↓ DOC↓ ePub↓
24 Allah Korkusu PDF↓ DOC↓ ePub↓
25 Allah için Yaşamak PDF↓ DOC↓ ePub↓
26 Allahın Renk Sanatı PDF↓ DOC↓ ePub↓
27 Allahın isimleri PDF↓ DOC↓ ePub↓
28 Asker Atatürk PDF↓ DOC↓ ePub↓
29 Atatürk Ansiklopedisi 2.cilt PDF↓ DOC↓ ePub↓
30 Atatürk Ve Gençlik PDF↓ DOC↓ ePub↓
31 Ateist Siyonizm Felsefesi PDF↓ DOC↓ ePub↓
32 Atom Mucizesi PDF↓ DOC↓ ePub↓
33 Balarısı Mucizesi PDF↓ DOC↓ ePub↓
34 Bediuzzaman Said Nursi Kendisinin Mehdi Olmadığını Açıklamıştır PDF↓ DOC↓ ePub↓
35 Bir Zamanlar Darwinizm PDF↓ DOC↓ ePub↓
36 Bitkilerdeki Yaratılış Mucizesi PDF↓ DOC↓ ePub↓
37 Cahiliye Toplumunda insan Karakterleri PDF↓ DOC↓ ePub↓
38 Canlılardaki Fedakarlık Ve Akılcı Davranışlar PDF↓ DOC↓ ePub↓
39 Darwinizmin insanlığa Getirdiği Belalar PDF↓ DOC↓ ePub↓
40 Darwin Amca Biz Hiç Değişmedik PDF↓ DOC↓ ePub↓
41 Darwin Dnayı Bilseydi PDF↓ DOC↓ ePub↓
42 Darwini Yıkan Kafatasları PDF↓ DOC↓ ePub↓
43 Darwinin Anlayamadığı Kambriyen PDF↓ DOC↓ ePub↓
44 Darwinin Varislerine PDF↓ DOC↓ ePub↓
45 Darwinist Propagandanın çürük Temelleri PDF↓ DOC↓ ePub↓
46 Darwinistler Neleri Düşünmezler PDF↓ DOC↓ ePub↓
47 Darwinizm Dini PDF↓ DOC↓ ePub↓
48 Darwinizm ile ilmi Mücadelenin önemi PDF↓ DOC↓ ePub↓
49 Darwinizmin Kanlı ideolojisi Faşizm PDF↓ DOC↓ ePub↓
50 Dinler Terörü Lanetler PDF↓ DOC↓ ePub↓
51 Dinsizliğin Dini ile Mücadele PDF↓ DOC↓ ePub↓
52 Dinsizliğin Kabusu PDF↓ DOC↓ ePub↓
53 Dinsizliğin ilkel Mantığı PDF↓ DOC↓ ePub↓
54 Doğada Allah'ın Yaratması PDF↓ DOC↓ ePub↓
55 Dünya Hayatında Tüm Zevkleri Tüketenler PDF↓ DOC↓ ePub↓
56 Ehli Sünnetin önemi PDF↓ DOC↓ ePub↓
57 En Büyük iftira şirk PDF↓ DOC↓ ePub↓
58 Evrenin Yaratılışı PDF↓ DOC↓ ePub↓
59 Evrim Açmazı 1.cilt PDF↓ DOC↓ ePub↓
60 Evrim Açmazı 2.cilt PDF↓ DOC↓ ePub↓
61 Evrimcilerin itirafları PDF↓ DOC↓ ePub↓
62 Gerçeği Düşündünüz Mü? PDF↓ DOC↓ ePub↓
63 Global Masonluk 1.cilt PDF↓ DOC↓ ePub↓
64 Gözardı Edilen Kuran Hükümleri PDF↓ DOC↓ ePub↓
65 Gözdeki Mucize PDF↓ DOC↓ ePub↓
66 Güzel Söze Uymanın önemi PDF↓ DOC↓ ePub↓
67 Hayalin Diğer Adı Madde PDF↓ DOC↓ ePub↓
68 Hayatın Gerçek Kökeni PDF↓ DOC↓ ePub↓
69 Hayvanlar Alemi PDF↓ DOC↓ ePub↓
70 Hazreti Yusuf PDF↓ DOC↓ ePub↓
71 Hazreti isa Gelecek PDF↓ DOC↓ ePub↓
72 Herşeyde Hayır Görmek PDF↓ DOC↓ ePub↓
73 Hormon Mucizesi PDF↓ DOC↓ ePub↓
74 Hücre Zarındaki Mucize PDF↓ DOC↓ ePub↓
75 Hz. Mehdi as Hz. ibrahim'ın Neslindendir PDF↓ DOC↓ ePub↓
76 Hz. isa a.s. Ve Hz. Mehdi a.s. Bu Yüzyılda Gelecek PDF↓ DOC↓ ePub↓
77 Hücredeki Mucize PDF↓ DOC↓ ePub↓
78 Kabala Ve Masonluk PDF↓ DOC↓ ePub↓
79 Kan Ve Kalp Mucizesi PDF↓ DOC↓ ePub↓
80 Karınca Mucizesi PDF↓ DOC↓ ePub↓
81 Kehf Suresinden Ahir Zamana işaretler PDF↓ DOC↓ ePub↓
82 Kolaylık Dini islam PDF↓ DOC↓ ePub↓
83 Komünist Çin'in Zulüm Politikası Ve Doğu Türkistan PDF↓ DOC↓ ePub↓
84 Kuran Ahlakı PDF↓ DOC↓ ePub↓
85 Kuran Ahlakında Fedakarlığın Önemi PDF↓ DOC↓ ePub↓
86 Kuran Bilgisi PDF↓ DOC↓ ePub↓
87 Kuran Bilime Yol Gösterir PDF↓ DOC↓ ePub↓
88 Kuran Fihristi PDF↓ DOC↓ ePub↓
89 Kuran Mucizeleri Cilt3 PDF↓ DOC↓ ePub↓
90 Kuran'a Göre Gerçek Akıl PDF↓ DOC↓ ePub↓
91 Kuran'da Adalet Ve Hoşgörü PDF↓ DOC↓ ePub↓
92 Kuran'da Münafık Karakteri PDF↓ DOC↓ ePub↓
93 Kuran'daSabrın önemi PDF↓ DOC↓ ePub↓
94 Kuran'da Tebliğ Ve Tartışma PDF↓ DOC↓ ePub↓
95 Kuran'da Vicdanın Önemi PDF↓ DOC↓ ePub↓
96 Kuran'da Ümitvar Olmak PDF↓ DOC↓ ePub↓
97 Kuran'da ihlas PDF↓ DOC↓ ePub↓
98 Kuran'da Şevk Ve Heyecan PDF↓ DOC↓ ePub↓
99 Kuran'dan Cevaplar PDF↓ DOC↓ ePub↓
100 Kuran'ı Dinlemeyenler PDF↓ DOC↓ ePub↓
101 Kuran'ın Bazı Sırları PDF↓ DOC↓ ePub↓
102 Mehdi Ve Altınçağ PDF↓ DOC↓ ePub↓
103 Müminin 24 Saati PDF↓ DOC↓ ePub↓
104 Müminin 24 Saati PDF↓ DOC↓ ePub↓
105 Müminlerin Asıl Yurdu Cennet PDF↓ DOC↓ ePub↓
106 Müminlerin Merhameti PDF↓ DOC↓ ePub↓
107 Müslümanca Konuşmak PDF↓ DOC↓ ePub↓
108 Pişman Olmadan önce PDF↓ DOC↓ ePub↓
109 Resullerimiz Diyor Ki PDF↓ DOC↓ ePub↓
110 Resullerin Mücadelesi PDF↓ DOC↓ ePub↓
111 Resulullah'ın s.a.v Dilinden Cennet PDF↓ DOC↓ ePub↓
112 Sahte Dünyanın Acıları PDF↓ DOC↓ ePub↓
113 Sakın Unutmayın PDF↓ DOC↓ ePub↓
114 Savunma Sistemi Mucizesi PDF↓ DOC↓ ePub↓
115 Sinsi Bir Tehlike Gaflet PDF↓ DOC↓ ePub↓
116 Sosyal Silah Darwinizm PDF↓ DOC↓ ePub↓
117 Tarih Boyunca Müslümanlara Atılan iftiralar PDF↓ DOC↓ ePub↓
118 Terörün Perde Arkası PDF↓ DOC↓ ePub↓
119 Tevrat'tan Hikmetler Ve Güzel Öğütler PDF↓ DOC↓ ePub↓
120 Tohum Mucizesi PDF↓ DOC↓ ePub↓
121 Türkün Yüksek Seciyesi PDF↓ DOC↓ ePub↓
122 Yaratılış Atlası Cilt 1 PDF↓ DOC↓ ePub↓
123 Yaratılış Atlası Cilt 2 PDF↓ DOC↓ ePub↓
124 Yaratılış Atlası Cilt 3 PDF↓ DOC↓ ePub↓
125 Yeni Masonik Düzen PDF↓ DOC↓ ePub↓
126 Yusuf Medresesi PDF↓ DOC↓ ePub↓
127 Zamansızlık Ve Kader Gerceği PDF↓ DOC↓ ePub↓
128 Ölüm Kıyamet Cehennem 12 PDF↓ DOC↓ ePub↓
129 Örnek Müslüman Kadın Hazreti Meryem PDF↓ DOC↓ ePub↓
130 İhtişam Her Yerde PDF↓ DOC↓ ePub↓
131 iman Hakikatlerinin Önemi PDF↓ DOC↓ ePub↓
132 İmanı Çabuk Anlamak 1 PDF↓ DOC↓ ePub↓
133 İmtihanın Sırrı PDF↓ DOC↓ ePub↓
134 İnsan Mucizesi PDF↓ DOC↓ ePub↓
135 İslam Terörü Lanetler PDF↓ DOC↓ ePub↓
136 İyilerin İttifakı PDF↓ DOC↓ ePub↓
137 Şeytanın Enaniyeti PDF↓ DOC↓ ePub↓
138 Darwinizm Kuran İle Bağdaşmaz PDF↓ DOC↓ ePub↓
139 Evrim Aldatmacası PDF↓ DOC↓ ePub↓
140 Kehf Suresinden Günümüze İşaretler PDF↓ DOC↓ ePub↓
141 Komünist Terörist Dinsiz Örgüt PKK PDF↓ DOC↓ ePub↓
142 Kuran ile Hayat Nasıl Yaşanır PDF↓ DOC↓ ePub↓
143 Tevrat'ta Kuran'a Uygun Sevgi Sözleri PDF↓ DOC↓ ePub↓
144 Üst Akıl İngiliz Derin Devletinin İçYüzü PDF↓ DOC↓ ePub↓
145 Yaşamın Ve Evrenin Kökeni Konf Kitapçık PDF↓ DOC↓ ePub↓
146 Ahir Zamanın 656 Alameti PDF↓ DOC↓ ePub↓
147 Amerika’nın Göremediği PKK PDF↓ DOC↓ ePub↓
148 Deniz Altındaki Muhteşem Dünya PDF↓ DOC↓ ePub↓
149 Hristiyanlar Hz. İsa’yı Dinlesinler PDF↓ DOC↓ ePub↓
150 İncilde Sevgi Broşür PDF↓ DOC↓ ePub↓
151 Karanlık Tehlike Bağnazlık PDF↓ DOC↓ ePub↓
152 Kuran Tevrat Zebur ve İncilde Hz. Mehdi Broşür PDF↓ DOC↓ ePub↓
153 Mültecilere Yardım PDF↓ DOC↓ ePub↓
154 Münafığın Derin Karanlığı PDF↓ DOC↓ ePub↓
155 Nasıl Bir Yemen PDF↓ DOC↓ ePub↓
156 Rohingyalar Güzeldir PDF↓ DOC↓ ePub↓
157 Rumilik Tehlike Mi? PDF↓ DOC↓ ePub↓
158 Yaratılış Atlası Cilt 4 PDF↓ DOC↓ ePub↓
159 Darwin Amca Biz Hiç Değişmedik PDF↓ DOC↓ ePub↓
160 Darwinist Deccaliyetin Ölümü PDF↓ DOC↓ ePub↓
161 Darwinist Propaganda Yöntemleri PDF↓ DOC↓ ePub↓
162 Gelin Birlik Olalım Broşür PDF↓ DOC↓ ePub↓
163 Hz. Mehdi as. Hakkında Bilgiler PDF↓ DOC↓ ePub↓
164 İncilden Güzel Sözler PDF↓ DOC↓ ePub↓
165 Kuran Mucizeleri 2 PDF↓ DOC↓ ePub↓
166 Kuran Mucizeleri 3 PDF↓ DOC↓ ePub↓
167 Kuran Tevrat Zebur ve İncil’de Hz. Mehdi Broşür PDF↓ DOC↓ ePub↓
168 Münafıklıkla Mücadelenin Önemi PDF↓ DOC↓ ePub↓
169 Tevrat’tan Hikmetler Güzel Öğütler PDF↓ DOC↓ ePub↓
170 20 Soruda Evrim Teorisi PDF↓ DOC↓ ePub↓
171 50 Maddede Evrim PDF↓ DOC↓ ePub↓
172 Adamlık Dini PDF↓ DOC↓ ePub↓
173 Akılsız Kuranı Nasıl Yorumlar PDF↓ DOC↓ ePub↓
174 Alay Denen Zulüm PDF↓ DOC↓ ePub↓
175 Allah Akılla Bilinir PDF↓ DOC↓ ePub↓
176 Allah için Yaşamak PDF↓ DOC↓ ePub↓
177 Darwinist Propagandanın çürük Temelleri PDF↓ DOC↓ ePub↓
178 Darwini Yıkan Kafatasları PDF↓ DOC↓ ePub↓
179 Demet 2 PDF↓ DOC↓ ePub↓
180 Demet 3 PDF↓ DOC↓ ePub↓
181 Demet 4 PDF↓ DOC↓ ePub↓
182 Evrendeki Mucize Ay PDF↓ DOC↓ ePub↓
183 Evrim Aldatmacası PDF↓ DOC↓ ePub↓
184 Güzelliklerden Bir Demet PDF↓ DOC↓ ePub↓
185 Hz. Mehdi Hz. İbrahim Neslindendir PDF↓ DOC↓ ePub↓
186 Kehf Suresinden Günümüze İşaretler PDF↓ DOC↓ ePub↓
187 Kuranda Temel Kavramlar PDF↓ DOC↓ ePub↓
188 Osmanlı Vizyonu PDF↓ DOC↓ ePub↓
189 Yaratılış Atlası Cilt 2 PDF↓ DOC↓ ePub↓
190 Yaratılış Atlası Cilt 3 PDF↓ DOC↓ ePub↓
Name Position Office Age Start date Salary

Search Bar Label and Input improperly generated: closing </label tag> in wrong place

The Search Bar (upper right filter input) is improperly formatted - the is encapsulating the entire input field.

Currently generated html (from example table on datatables.net):
<div id="example_filter" class="dataTables_filter">
<label>
"Search:"
<input type="search" class placeholder aria-controls="example">
</label> <- should be below "Search"
</div>

You can verify this on any default datatable - including the ones on datatables.net
Steps to recreate:

  1. go to any initialized datatable in any modern browser (chrome/firefox)
  2. hover over the search field in the upper right of the table.
  3. Right Click -> Inspect
  4. Notice issue

Impacted versions - seems to be all
Screen Shot of datatables.net with incorrect placement
image

If order is defined and colReorder is set to true errors occur

If you define order, and keep colReorder = true errors will occur.

image

Disabling colReorder removes errors. If there are tabs tables are visually destroyed. If there are no tabs they do have visual part untouched but errors in the backend.

You can confirm this using this code: https://github.com/EvotecIT/PSWriteHTML/blob/master/Examples/NotWorking/Example17-Tables/Example17.html

                      <script>
                    $(document).ready(function () {
                        $('#DT-elgaGcoP').DataTable({
                            "dom": "Bfrtip",
                            "buttons": [
                                "copyHtml5",
                                "excelHtml5",
                                "csvHtml5",
                                "pdfHtml5"
                            ],
                            "colReorder": true,
                            "paging": true,
                            "scrollCollapse": false,
                            "pagingType": [
                                "full_numbers"
                            ],
                            "lengthMenu": [
                                [
                                    15,
                                    25,
                                    50,
                                    100
                                ],
                                -1,
                                [
                                    15,
                                    25,
                                    50,
                                    100
                                ],
                                "All"
                            ],
                            "ordering": true,
                            "info": true,
                            "procesing": true,
                            "responsive": {
                                "details": true
                            },
                            "select": true,
                            "searching": true,
                            "stateSave": true,
                            "order": [
                                3,
                                "asc"
                            ]
                        });
                    });
                </script>

DataTable table plugging not working jquery mysql

I add the table use in ajex and mysql..but dataTabe plugin not working..I can't modify of adding Search plugging and Pagination at the Script, in table tag, I add id 'dataTable' , in the script,


$(document).ready(function() {
$('#dataTable').DataTable();
});

fixedHeader requires extra css to show multiline <th> elements

For a header that has text that wraps for some columns, I found I needed to add this CSS in order to show all the text. Otherwise, only the bottom line of text is visible once the "fixed" functionality is activated.

Is this as expected?

.fixedHeader-floating {
top: 35px !important;
}

Setting for pagination button count

It would be nice to have possibility to control pagination button count for simple_numbers and full_numbers. Such setting, available for _numbers function would let the function how many buttons to return.

ScrollX true with Responsive set to false doesn't work

I wanted to set responsive to false and enable scrollX. It doesn't work. It works if I remove responsive options altogether. Probably makes sense to have some logic that takes care of this.

responsive: false,
"responsive": {
    "details": false
},
"select": true,
"searching": true,
"stateSave": true,
"columnDefs": "",
scrollX: true

Fiddle showing this issue: https://jsfiddle.net/6mp0e4ky/1/

Build process uses static filenames in /tmp, does not catch errors

The build process (include.sh and friends) uses static filenames in /tmp/, among them /tmp/closure_error.log which in addition does not get removed after the build.

This may lead to issues on shared systems: although symlink attacks on build systems are not a very likely scenario, this still becomes a problem if the files already exist but belong to another user - something that happens if several users on the same host try to build that code.
Please also note that the build system does not catch or address that situation.

Please see the corresponding Debian bug [1] which also includes a patch to serve as inspiration for a solution.

Thanks,
Sascha

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850879

Inline styles injected by JavaScript blocked by Content-Security-Policy

As discussed, a Content-Security-Policy that blocks injection by denying inline styles will cause the browser to block DataTables' _fnApplyToChildren function, which violates that policy.

To test, send a CSP header in your HTTP response with object-src 'none' as a policy, like so:

Content-Security-Policy: default-src 'self' https:; object-src 'none'

Observe CSP reports in the JavaScript console.

rows([ids], {search: 'removed'}) optimization

Hello,

I am working on a project that has a lot of data in the datatables and there is a use case that I need to know which rows were removed. I decided , at first, to use the rows([mySelectedIds], {search: 'removed'}) filter but alas I had to do use search: 'filter' instead and remove the duplicates myself.

Why? Because datatables removed is O(n^m) since they do 2 chained fors.

I propose to convert the masterData array into a map and then just iterate the filteredData (this way you get O(n) instead.

Please let me know what you think.

--- Off topic ---
I have never done a PR request and I have no idea how so I am not sure I am the best person to fix this but I just wanted to let you guys know about this possible alternative :)

I wouldn't mind learning how to do a PR but it seems I need to fork this repo always? Is this common practice among other project? Can someone give me some link to get started on understanding how open source contributions work?

Thanks again :)

David.

Information / discution about sdom implementation

Hi,
I'm working to do a plugin that deals with row selection. I want to implement a new sdom feature that shows for instance 1 item selected.

Doing it was not a problem, i picked the letter s. then sdom with table and selection features only would be : sdom : 'ts'

But there is a limitation with sdom, because each sdom features can be named with only 1 letter. That is very limited.

If many plugins are using the same letter there will be a conflict between the two plugins.

In the first time I was wondering if you have already though about it.

In the second time i was thinking of giving the ability to have many letters for defining a sdom feature.

For instance by using quotes + sharp + featureName.
Then if my feature is named selection I would have the following sdom : sdom : "t'#selection'"

An other idea would be to add an additional more robust alternative to construct sdom. A quick example would be :

$....Datatable({
    "sdom" : [
        "t",
        {
               "featureType : "domNode",
               "node" : "div",
               "class" : "aClass",
               "content" : [
                   { 
                        "featureType" : "selection
                   }
               ]
        }

    ]
});

Obviously this way looks more complex but more flexible, because we could mix config array, string shortcut, and object instanciations

I would enjoy to contribute more, but i need to know your opinion and how you want to drive the project.

Add :pseudo selectors for sort rules.

This is nice and all but when using ajax data and named fields it would be nice to be able to sort by those names. It works if i use the api to select fields directly but not with preset sorts.

var table = $(selector).DataTable({
"order": [[ 0, 'asc' ], [ 1, 'asc' ]]
})

Eg:
var table = $(selector).DataTable({
"order": [[ 'user_id:data', 'asc' ], [ 'name:name', 'asc' ]]
})

Also this does work:
table.column( 'user_name:name' ).data().sort().draw()

But we cant do the same thing with complex sorts.
table.order([['user_name:name', 'desc'],['user_email:data', 'asc']]).draw()

I was able to get what i needed with a hack so i wont post that. basically i added the following to my sort internal code to convert elements when they aren't already indexes.
if(!isInt(order[i][0]))
order[i][0] = this.column(order[i][0]).index();

Tag for 1.10.5

The "compiled" repository DataTables contains the tag for 1.1.0.5, but I can't find it in the DataTablesSrc repository. Could you please add the correct tag?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.