JSFiddle - React, Tailwind, and code Playground
by poonamd
HTML
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="//cdn.datatables.net/1.10.4/js/jquery.dataTables.js"></script>
<link rel="stylesheet" href="//cdn.datatables.net/1.10.4/css/jquery.dataTables.css">
<script src="//cdn.datatables.net/fixedcolumns/3.0.0/js/dataTables.fixedColumns.min.js"></script>
<link rel="stylesheet" href="//cdn.datatables.net/fixedcolumns/3.0.0/css/dataTables.fixedColumns.min.css">
<h3>hi</h3>
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>
CSS
#example tr {
white-space: nowrap;
}
JavaScript
var dataSet = [
['Trident','Internet Explorer 4.0','Win 95+','4','X','All others','-','-','U'],
['Trident','Internet Explorer 5.0','Win 95+','5','C','All others','-','-','U'],
['Trident','Internet Explorer 5.5','Win 95+','5.5','A','All others','-','-','U'],
['Trident','Internet Explorer 6','Win 98+','6','A','All others','-','-','U'],
['Trident','Internet Explorer 7','Win XP SP2+','7','A','All others','-','-','U'],
['Trident','AOL browser (AOL desktop)','Win XP','6','A','All others','-','-','U'],
['Gecko','Firefox 1.0','Win 98+ / OSX.2+','1.7','A','All others','-','-','U'],
['Gecko','Firefox 1.5','Win 98+ / OSX.2+','1.8','A','All others','-','-','U'],
['Gecko','Firefox 2.0','Win 98+ / OSX.2+','1.8','A','All others','-','-','U'],
['Gecko','Firefox 3.0','Win 2k+ / OSX.3+','1.9','A','All others','-','-','U'],
['Gecko','Camino 1.0','OSX.2+','1.8','A','All others','-','-','U'],
['Gecko','Camino 1.5','OSX.3+','1.8','A','All others','-','-','U'],
['Gecko','Netscape 7.2','Win 95+ / Mac OS 8.6-9.2','1.7','A','All others','-','-','U'],
['Gecko','Netscape Browser 8','Win 98SE+','1.7','A','All others','-','-','U'],
['Gecko','Netscape Navigator 9','Win 98+ / OSX.2+','1.8','A','All others','-','-','U'],
['Gecko','Mozilla 1.0','Win 95+ / OSX.1+',1,'A','All others','-','-','U'],
['Gecko','Mozilla 1.1','Win 95+ / OSX.1+',1.1,'A','All others','-','-','U'],
['Gecko','Mozilla 1.2','Win 95+ / OSX.1+',1.2,'A','All others','-','-','U'],
['Gecko','Mozilla 1.3','Win 95+ / OSX.1+',1.3,'A','All others','-','-','U'],
['Gecko','Mozilla 1.4','Win 95+ / OSX.1+',1.4,'A','All others','-','-','U'],
['Gecko','Mozilla 1.5','Win 95+ / OSX.1+',1.5,'A','All others','-','-','U'],
['Gecko','Mozilla 1.6','Win 95+ / OSX.1+',1.6,'A','All others','-','-','U'],
['Gecko','Mozilla 1.7','Win 98+ / OSX.1+',1.7,'A','All others','-','-','U'],
['Gecko','Mozilla 1.8','Win 98+ / OSX.1+',1.8,'A','All others','-','-','U'],
...