Title: AJ CSV to DataTable
Author: anjanasilva
Published: <strong>30. oktober 2015</strong>
Last modified: 13. desember 2017

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://s.w.org/plugins/geopattern-icon/aj-csv-to-datatable.svg)

# AJ CSV to DataTable

 Av [anjanasilva](https://profiles.wordpress.org/anjanasilva/)

[Last ned](https://downloads.wordpress.org/plugin/aj-csv-to-datatable.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/aj-csv-to-datatable/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/aj-csv-to-datatable/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/aj-csv-to-datatable/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/aj-csv-to-datatable/#developers)

 [Hjelp](https://wordpress.org/support/plugin/aj-csv-to-datatable/)

## Skildring

WordPress Plugin to present a CSV file in a DataTable. This will import data from
a CSV file and display in a DataTable.

### How To Use

Insert following code snippet into any page or post using this shortcode, make sure
you use an unique id :

    ```
    [aj-csv2dt src=http://e-innoving.com/samples/SacramentocrimeJanuary2006.csv id=datatable_id]
    ```

You can now disable DataTable search, pagination, sorting and displaying of bInfo
with the recent 1.1 release. The purpose of this is to render a static looking HTML
Table out of a CSV file.

    ```
    [aj-csv2dt src=http://e-innoving.com/samples/SacramentocrimeJanuary2006.csv id=datatable_id disable_search=true disable_paging=true disable_binfo=true disable_sorting=true]
    ```

Save it, just refresh the page and see. Less hassle, all your csv data is inside
the DataTable.

### Credits

This plugin utilizes some excellent open source scripts, functions and images whose
creators deserve to be recognized.

 1. Shaun Scovil, for inspiring me through his CSV to Sortable Plugin.
 2. V.Krishn wrote a handy [PHP function](http://github.com/insteps/phputils) that 
    enables users of PHP < 5.3 to utilize the `str_getcsv()` function that powers this
    plugin.

### Common Errors

 1. If the datatable misbehaves, this is probably due to an incorrect csv format. In
    that case, open csv file in excel
     and re-save it as a new csv. Most likely this
    will resolve your issue.

## Skjermbilete

 * [[

## Installasjon

 1. Install and activate the plugin via `WP-Admin > Plugins`.
 2. Add shortcode to a post or page: `[aj-csv2dt src=http://samplecsvs.s3.amazonaws.
    com/SacramentocrimeJanuary2006.csv id=datatable_id]`.

## Vanlege spm.

  Installation Instructions

 1. Install and activate the plugin via `WP-Admin > Plugins`.
 2. Add shortcode to a post or page: `[aj-csv2dt src=http://samplecsvs.s3.amazonaws.
    com/SacramentocrimeJanuary2006.csv id=datatable_id]`.

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“AJ CSV to DataTable” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ anjanasilva ](https://profiles.wordpress.org/anjanasilva/)

[Omset “AJ CSV to DataTable” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/aj-csv-to-datatable)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/aj-csv-to-datatable/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/aj-csv-to-datatable/) eller
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/aj-csv-to-datatable/)
med [RSS](https://plugins.trac.wordpress.org/log/aj-csv-to-datatable/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.1

 * Added options to disable DataTable searching, pagination, sorting and showing
   of bInfo.

#### 1.0

 * First public release.

## Om

 *  Version **1.1**
 *  Last updated **8 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 4.3.1 eller nyare **
 *  Tested up to **4.7.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/aj-csv-to-datatable/)
 * Tags
 * [csv](https://nn.wordpress.org/plugins/tags/csv/)[data](https://nn.wordpress.org/plugins/tags/data/)
   [datatable](https://nn.wordpress.org/plugins/tags/datatable/)[import](https://nn.wordpress.org/plugins/tags/import/)
   [table](https://nn.wordpress.org/plugins/tags/table/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/aj-csv-to-datatable/advanced/)

## Vurderingar

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/aj-csv-to-datatable/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/aj-csv-to-datatable/reviews/)

## Contributors

 *   [ anjanasilva ](https://profiles.wordpress.org/anjanasilva/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/aj-csv-to-datatable/)