Skip to content

Commit 4e5246c

Browse files
Add width=100% and nowarp in datatables
1 parent d891edc commit 4e5246c

File tree

1 file changed

+1
-2
lines changed
  • debug-db/src/main/assets/debugDbHome/js

1 file changed

+1
-2
lines changed

debug-db/src/main/assets/debugDbHome/js/app.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function inflateData(result){
147147
}
148148

149149
$("#db-data-div").remove();
150-
$("#parent-data-div").append('<div id="db-data-div"><table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered display" id="db-data"></table></div>');
150+
$("#parent-data-div").append('<div id="db-data-div"><table class="display nowrap" cellpadding="0" border="0" cellspacing="0" width="100%" class="table table-striped table-bordered display" id="db-data"></table></div>');
151151

152152
$(tableId).dataTable({
153153
"data": columnData,
@@ -161,7 +161,6 @@ function inflateData(result){
161161
"iDisplayLength": 10,
162162
"dom": "Bfrtip",
163163
select: 'single',
164-
responsive: true,
165164
altEditor: true, // Enable altEditor
166165
buttons: [
167166
{

0 commit comments

Comments
 (0)