Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82034

How to load using string array?

$
0
0

Hi, I living a problem when data load using string array.
My codes;

var agendaSplit = "Row 1[&]Row 2[&]Row 3[&]Row 4[&]Row 5".split('[&]');
$('#AgendaListTable').DataTable({
        "info": true,
        dom: 'Bfrtip',
        buttons: ['excel', 'pdf', 'print'],
        data: agendaSplit,
        language: {
            "url": "//cdn.datatables.net/plug-ins/1.10.15/i18n/English.json",
            buttons: {
            }
        }
    });

Result;

I don't want to this.

I want this but I can't;

Can you help me?


Viewing all articles
Browse latest Browse all 82034

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>