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

Twitter Bootstrap 2 and DataTables with Multiple-select

$
0
0
Hi Guys,

Really am pleased that Twitter Bootstrap is supported with DataTables - makes for a very powerful toolkit.

I just have one query. I'm using DataTables 1.9.2, TableTools and DataTables Editable but I can't seem to allow multiple selecting on the grid.

Here's my code:

  $('#mappings').dataTable( {
		"sDom": "<'row'<'span6'l><'span5'f>r>t<'row'<'span11'p>>",
		"sPaginationType": "bootstrap",
		"oTableTools": {
		  "sRowSelect": "multi",
		  "aButtons": ["select_all", "select_none"]
		},
		"oLanguage": {
			"sLengthMenu": "_MENU_ records per page"
		},
		"bProcessing": true,
		"sAjaxSource": "/ui/user_map_feed",
		"aaSorting": [ [1,'asc'] ],
		"aoColumns": [
      {bVisible: false}, { sWidth: '50%'}, {sWidth: '50%'}
    ]
	} );

...

The Select All and Select None buttons do not display and you are still only able to select one row at a time. Am I missing something or is this not supported with Bootstrap ?

Thanks for your help,

Tim

Viewing all articles
Browse latest Browse all 81677

Trending Articles



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