How to force responsive datatable to display more than 6 columns?How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?DataTables: search all columns when server-sideTwitter Bootstrap Responsive - Show Table Column only on DesktopjQuery Datatables How to print a table with row grouping?Datatables responsive doesn't apply to dynamically added rowTrying to show extra information in a responsive DataTableDatatables responsive - column not collapsible to child rowSelect column in jQuery DataTablesdatatables-responsive set class for hidden columnHiddien table columns on responsive datatables will return bugs
In Futurama, how many beings has Leela slept with?
My large rocket is still flipping over
Blender 2.80 Remove double vertices option gone
Constitutional limitation of criminalizing behavior in US law?
Sheared off exhasut pipe: How to fix without a welder?
Counting the Number of Real Roots of A Polynomial
What to do when scriptures go against conscience?
Why is my arithmetic with a long long int behaving this way?
How to properly store the current value of int variable into a token list?
Determine if a grid contains another grid
Madam I m Adam..please don’t get mad..you will no longer be prime
Clarification of algebra in moment generating functions
Does running exec do anything?
How to remap repeating commands i.e. <number><command>?
Speed up this NIntegrate
Why does sound not move through a wall?
Has the United States ever had a non-Christian President?
Can my 2 children, aged 10 and 12, who are US citizens, travel to the USA on expired American passports?
Is it normal for gliders not to have attitude indicators?
Undefined Control Sequence for my 0-norm
What do you call a painting on a wall?
Gerrymandering Puzzle - Rig the Election
Where are the "shires" in the UK?
Why are the capacitors necessary for a quartz crystal?
How to force responsive datatable to display more than 6 columns?
How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?DataTables: search all columns when server-sideTwitter Bootstrap Responsive - Show Table Column only on DesktopjQuery Datatables How to print a table with row grouping?Datatables responsive doesn't apply to dynamically added rowTrying to show extra information in a responsive DataTableDatatables responsive - column not collapsible to child rowSelect column in jQuery DataTablesdatatables-responsive set class for hidden columnHiddien table columns on responsive datatables will return bugs
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm using a responsive datatable with 7 columns. See it live within its template (it is the larger table): http://darasu.xyz/DatatableExample/datatable-ex.html
The one I'm using is from here:
https://datatables.net/extensions/fixedheader/examples/integration/responsive-bootstrap.html
I want all columns to always show on desktops. There is feasible space for it, plus I do not like the expandable "+" buttons showing by default.
It only seems to allow 6 columns to span across. The 7th is forced its own expandable row, as it should be if viewing on smaller view-ports. How do I make all rows visible when viewing on desktops, but remain responsive on smaller view-ports? Is 6 columns a default in jQuery datatables? If so, can I change it to 7 and how?
After reading the datatable documentation, I have tried varied classes to alter breakpoints, as seen here: https://datatables.net/extensions/responsive/classes
This has been a challenge as after I obtain my desired table on desktops, the table adapts behaviors in smaller view-ports which I do not want. Example: The class "all" will force the 7th column to be visible on all screens, which I do not want. "min-desktop" will force the 7th column to be visible on desktops or larger, but will hide another column to compensate. The same can be said for other breakpoint classes, or data-priority options: https://datatables.net/extensions/responsive/priority
The more I use these options to obtain my desired desktop table, the worse it looks on smaller view-ports.
I've tried gimmicky workarounds, such as forcing all data to show:
$(document).ready(function() {
var table = $('#condolistings').DataTable(
responsive:
details: false
);
Then assigning the table bootstrap classes which hide my table in smaller view-ports: "d-none d-xl-block d-lg-block", then adding a second responsive table which hides on desktops with classes: "d-lg-none d-xl-none". It worked but my borders got visually mangled by the "block" classes so it is not usable. (See: https://i.imgur.com/hIfHUfz.png)
Code:
<table id="condolistings" class="table table-bordered datatable-font nowrap" style="width:100%;">
<thead>
<tr>
<th><strong>Unit</strong></th>
<th><strong># Bed</strong></th>
<th><strong># Bath</strong></th>
<th><strong>Sq Ft</strong></th>
<th><strong>Price</strong></th>
<th><strong>Brokerage</strong></th>
<th><strong>Favourite?</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>#703</td>
<td>2</td>
<td>2</td>
<td>743</td>
<td>$628,000</td>
<td>Luxmore Realty</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#602</td>
<td>2</td>
<td>2</td>
<td>827</td>
<td>$649,000</td>
<td>Macdonald Realty Westmar</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#1502</td>
<td>2</td>
<td>2</td>
<td>1103</td>
<td>$849,000</td>
<td>Coldwell Banker Westburn Rlty</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#1701</td>
<td>3</td>
<td>2</td>
<td>1265</td>
<td>$978,000</td>
<td>Regent Park Realty Inc.</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#2402</td>
<td>3</td>
<td>3</td>
<td>1637</td>
<td>$1,308,000</td>
<td>RE/MAX Central</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
</tbody>
</table>
$(document).ready(function()
var table = $('#condolistings').DataTable(
responsive: true,
"paging": false,
"searching": false,
"info": false
);
new $.fn.dataTable.FixedHeader( table );
);
CSS files pulled from Bootstrap 4.
jquery datatables bootstrap-4
add a comment |
I'm using a responsive datatable with 7 columns. See it live within its template (it is the larger table): http://darasu.xyz/DatatableExample/datatable-ex.html
The one I'm using is from here:
https://datatables.net/extensions/fixedheader/examples/integration/responsive-bootstrap.html
I want all columns to always show on desktops. There is feasible space for it, plus I do not like the expandable "+" buttons showing by default.
It only seems to allow 6 columns to span across. The 7th is forced its own expandable row, as it should be if viewing on smaller view-ports. How do I make all rows visible when viewing on desktops, but remain responsive on smaller view-ports? Is 6 columns a default in jQuery datatables? If so, can I change it to 7 and how?
After reading the datatable documentation, I have tried varied classes to alter breakpoints, as seen here: https://datatables.net/extensions/responsive/classes
This has been a challenge as after I obtain my desired table on desktops, the table adapts behaviors in smaller view-ports which I do not want. Example: The class "all" will force the 7th column to be visible on all screens, which I do not want. "min-desktop" will force the 7th column to be visible on desktops or larger, but will hide another column to compensate. The same can be said for other breakpoint classes, or data-priority options: https://datatables.net/extensions/responsive/priority
The more I use these options to obtain my desired desktop table, the worse it looks on smaller view-ports.
I've tried gimmicky workarounds, such as forcing all data to show:
$(document).ready(function() {
var table = $('#condolistings').DataTable(
responsive:
details: false
);
Then assigning the table bootstrap classes which hide my table in smaller view-ports: "d-none d-xl-block d-lg-block", then adding a second responsive table which hides on desktops with classes: "d-lg-none d-xl-none". It worked but my borders got visually mangled by the "block" classes so it is not usable. (See: https://i.imgur.com/hIfHUfz.png)
Code:
<table id="condolistings" class="table table-bordered datatable-font nowrap" style="width:100%;">
<thead>
<tr>
<th><strong>Unit</strong></th>
<th><strong># Bed</strong></th>
<th><strong># Bath</strong></th>
<th><strong>Sq Ft</strong></th>
<th><strong>Price</strong></th>
<th><strong>Brokerage</strong></th>
<th><strong>Favourite?</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>#703</td>
<td>2</td>
<td>2</td>
<td>743</td>
<td>$628,000</td>
<td>Luxmore Realty</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#602</td>
<td>2</td>
<td>2</td>
<td>827</td>
<td>$649,000</td>
<td>Macdonald Realty Westmar</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#1502</td>
<td>2</td>
<td>2</td>
<td>1103</td>
<td>$849,000</td>
<td>Coldwell Banker Westburn Rlty</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#1701</td>
<td>3</td>
<td>2</td>
<td>1265</td>
<td>$978,000</td>
<td>Regent Park Realty Inc.</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#2402</td>
<td>3</td>
<td>3</td>
<td>1637</td>
<td>$1,308,000</td>
<td>RE/MAX Central</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
</tbody>
</table>
$(document).ready(function()
var table = $('#condolistings').DataTable(
responsive: true,
"paging": false,
"searching": false,
"info": false
);
new $.fn.dataTable.FixedHeader( table );
);
CSS files pulled from Bootstrap 4.
jquery datatables bootstrap-4
add a comment |
I'm using a responsive datatable with 7 columns. See it live within its template (it is the larger table): http://darasu.xyz/DatatableExample/datatable-ex.html
The one I'm using is from here:
https://datatables.net/extensions/fixedheader/examples/integration/responsive-bootstrap.html
I want all columns to always show on desktops. There is feasible space for it, plus I do not like the expandable "+" buttons showing by default.
It only seems to allow 6 columns to span across. The 7th is forced its own expandable row, as it should be if viewing on smaller view-ports. How do I make all rows visible when viewing on desktops, but remain responsive on smaller view-ports? Is 6 columns a default in jQuery datatables? If so, can I change it to 7 and how?
After reading the datatable documentation, I have tried varied classes to alter breakpoints, as seen here: https://datatables.net/extensions/responsive/classes
This has been a challenge as after I obtain my desired table on desktops, the table adapts behaviors in smaller view-ports which I do not want. Example: The class "all" will force the 7th column to be visible on all screens, which I do not want. "min-desktop" will force the 7th column to be visible on desktops or larger, but will hide another column to compensate. The same can be said for other breakpoint classes, or data-priority options: https://datatables.net/extensions/responsive/priority
The more I use these options to obtain my desired desktop table, the worse it looks on smaller view-ports.
I've tried gimmicky workarounds, such as forcing all data to show:
$(document).ready(function() {
var table = $('#condolistings').DataTable(
responsive:
details: false
);
Then assigning the table bootstrap classes which hide my table in smaller view-ports: "d-none d-xl-block d-lg-block", then adding a second responsive table which hides on desktops with classes: "d-lg-none d-xl-none". It worked but my borders got visually mangled by the "block" classes so it is not usable. (See: https://i.imgur.com/hIfHUfz.png)
Code:
<table id="condolistings" class="table table-bordered datatable-font nowrap" style="width:100%;">
<thead>
<tr>
<th><strong>Unit</strong></th>
<th><strong># Bed</strong></th>
<th><strong># Bath</strong></th>
<th><strong>Sq Ft</strong></th>
<th><strong>Price</strong></th>
<th><strong>Brokerage</strong></th>
<th><strong>Favourite?</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>#703</td>
<td>2</td>
<td>2</td>
<td>743</td>
<td>$628,000</td>
<td>Luxmore Realty</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#602</td>
<td>2</td>
<td>2</td>
<td>827</td>
<td>$649,000</td>
<td>Macdonald Realty Westmar</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#1502</td>
<td>2</td>
<td>2</td>
<td>1103</td>
<td>$849,000</td>
<td>Coldwell Banker Westburn Rlty</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#1701</td>
<td>3</td>
<td>2</td>
<td>1265</td>
<td>$978,000</td>
<td>Regent Park Realty Inc.</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#2402</td>
<td>3</td>
<td>3</td>
<td>1637</td>
<td>$1,308,000</td>
<td>RE/MAX Central</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
</tbody>
</table>
$(document).ready(function()
var table = $('#condolistings').DataTable(
responsive: true,
"paging": false,
"searching": false,
"info": false
);
new $.fn.dataTable.FixedHeader( table );
);
CSS files pulled from Bootstrap 4.
jquery datatables bootstrap-4
I'm using a responsive datatable with 7 columns. See it live within its template (it is the larger table): http://darasu.xyz/DatatableExample/datatable-ex.html
The one I'm using is from here:
https://datatables.net/extensions/fixedheader/examples/integration/responsive-bootstrap.html
I want all columns to always show on desktops. There is feasible space for it, plus I do not like the expandable "+" buttons showing by default.
It only seems to allow 6 columns to span across. The 7th is forced its own expandable row, as it should be if viewing on smaller view-ports. How do I make all rows visible when viewing on desktops, but remain responsive on smaller view-ports? Is 6 columns a default in jQuery datatables? If so, can I change it to 7 and how?
After reading the datatable documentation, I have tried varied classes to alter breakpoints, as seen here: https://datatables.net/extensions/responsive/classes
This has been a challenge as after I obtain my desired table on desktops, the table adapts behaviors in smaller view-ports which I do not want. Example: The class "all" will force the 7th column to be visible on all screens, which I do not want. "min-desktop" will force the 7th column to be visible on desktops or larger, but will hide another column to compensate. The same can be said for other breakpoint classes, or data-priority options: https://datatables.net/extensions/responsive/priority
The more I use these options to obtain my desired desktop table, the worse it looks on smaller view-ports.
I've tried gimmicky workarounds, such as forcing all data to show:
$(document).ready(function() {
var table = $('#condolistings').DataTable(
responsive:
details: false
);
Then assigning the table bootstrap classes which hide my table in smaller view-ports: "d-none d-xl-block d-lg-block", then adding a second responsive table which hides on desktops with classes: "d-lg-none d-xl-none". It worked but my borders got visually mangled by the "block" classes so it is not usable. (See: https://i.imgur.com/hIfHUfz.png)
Code:
<table id="condolistings" class="table table-bordered datatable-font nowrap" style="width:100%;">
<thead>
<tr>
<th><strong>Unit</strong></th>
<th><strong># Bed</strong></th>
<th><strong># Bath</strong></th>
<th><strong>Sq Ft</strong></th>
<th><strong>Price</strong></th>
<th><strong>Brokerage</strong></th>
<th><strong>Favourite?</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>#703</td>
<td>2</td>
<td>2</td>
<td>743</td>
<td>$628,000</td>
<td>Luxmore Realty</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#602</td>
<td>2</td>
<td>2</td>
<td>827</td>
<td>$649,000</td>
<td>Macdonald Realty Westmar</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#1502</td>
<td>2</td>
<td>2</td>
<td>1103</td>
<td>$849,000</td>
<td>Coldwell Banker Westburn Rlty</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#1701</td>
<td>3</td>
<td>2</td>
<td>1265</td>
<td>$978,000</td>
<td>Regent Park Realty Inc.</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
<tr>
<td>#2402</td>
<td>3</td>
<td>3</td>
<td>1637</td>
<td>$1,308,000</td>
<td>RE/MAX Central</td>
<td><a class="colored-link" href="#">Add</a></td>
</tr>
</tbody>
</table>
$(document).ready(function()
var table = $('#condolistings').DataTable(
responsive: true,
"paging": false,
"searching": false,
"info": false
);
new $.fn.dataTable.FixedHeader( table );
);
CSS files pulled from Bootstrap 4.
jquery datatables bootstrap-4
jquery datatables bootstrap-4
edited Mar 23 at 2:43
leeopold
asked Mar 23 at 2:24
leeopoldleeopold
105
105
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
According to the official documentation:
Responsive has three modes of operation for controlling the visibility of columns in a table:
- Automatic - whereby Responsive will automatically determine if a column should be shown or not
- Manual - where you tell Responsive what columns to show on what screen sizes.
- Priority - Using
columns.responsivePriority
to tell Responsive which columns should be given visibility priority.
When you don't assign a class to a column, DataTables will automatically determine if a column should be shown or not. So if you want to force showing all columns on larger screen, you need to assign classes (desktop
, min-desktop
or all
) to ALL columns.
I don't think there is a good way to switch to automatic mode on smaller screens, so you need to think which columns you want to show on smaller screens and use appropriate classes.
For example, with the following markup first three columns will be shown on all devices and last three columns will be shown on desktop (>1024px) devices.
<thead>
<tr>
<th class="all">Name</th>
<th class="all">Position</th>
<th class="all">Office</th>
<th class="desktop">Age</th>
<th class="desktop">Start date</th>
<th class="desktop">Salary</th>
</tr>
</thead>
See this example for code and demonstration.
Ah, that is what I thought. I just had it in my head that the tables were defaulted at 6 wide by jQuery and that I should be able to have the 7th as there is ample space for it. I guess using those classes is what I have to do then, thanks very much for the helpful example!
– leeopold
Mar 24 at 23:34
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55310017%2fhow-to-force-responsive-datatable-to-display-more-than-6-columns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
According to the official documentation:
Responsive has three modes of operation for controlling the visibility of columns in a table:
- Automatic - whereby Responsive will automatically determine if a column should be shown or not
- Manual - where you tell Responsive what columns to show on what screen sizes.
- Priority - Using
columns.responsivePriority
to tell Responsive which columns should be given visibility priority.
When you don't assign a class to a column, DataTables will automatically determine if a column should be shown or not. So if you want to force showing all columns on larger screen, you need to assign classes (desktop
, min-desktop
or all
) to ALL columns.
I don't think there is a good way to switch to automatic mode on smaller screens, so you need to think which columns you want to show on smaller screens and use appropriate classes.
For example, with the following markup first three columns will be shown on all devices and last three columns will be shown on desktop (>1024px) devices.
<thead>
<tr>
<th class="all">Name</th>
<th class="all">Position</th>
<th class="all">Office</th>
<th class="desktop">Age</th>
<th class="desktop">Start date</th>
<th class="desktop">Salary</th>
</tr>
</thead>
See this example for code and demonstration.
Ah, that is what I thought. I just had it in my head that the tables were defaulted at 6 wide by jQuery and that I should be able to have the 7th as there is ample space for it. I guess using those classes is what I have to do then, thanks very much for the helpful example!
– leeopold
Mar 24 at 23:34
add a comment |
According to the official documentation:
Responsive has three modes of operation for controlling the visibility of columns in a table:
- Automatic - whereby Responsive will automatically determine if a column should be shown or not
- Manual - where you tell Responsive what columns to show on what screen sizes.
- Priority - Using
columns.responsivePriority
to tell Responsive which columns should be given visibility priority.
When you don't assign a class to a column, DataTables will automatically determine if a column should be shown or not. So if you want to force showing all columns on larger screen, you need to assign classes (desktop
, min-desktop
or all
) to ALL columns.
I don't think there is a good way to switch to automatic mode on smaller screens, so you need to think which columns you want to show on smaller screens and use appropriate classes.
For example, with the following markup first three columns will be shown on all devices and last three columns will be shown on desktop (>1024px) devices.
<thead>
<tr>
<th class="all">Name</th>
<th class="all">Position</th>
<th class="all">Office</th>
<th class="desktop">Age</th>
<th class="desktop">Start date</th>
<th class="desktop">Salary</th>
</tr>
</thead>
See this example for code and demonstration.
Ah, that is what I thought. I just had it in my head that the tables were defaulted at 6 wide by jQuery and that I should be able to have the 7th as there is ample space for it. I guess using those classes is what I have to do then, thanks very much for the helpful example!
– leeopold
Mar 24 at 23:34
add a comment |
According to the official documentation:
Responsive has three modes of operation for controlling the visibility of columns in a table:
- Automatic - whereby Responsive will automatically determine if a column should be shown or not
- Manual - where you tell Responsive what columns to show on what screen sizes.
- Priority - Using
columns.responsivePriority
to tell Responsive which columns should be given visibility priority.
When you don't assign a class to a column, DataTables will automatically determine if a column should be shown or not. So if you want to force showing all columns on larger screen, you need to assign classes (desktop
, min-desktop
or all
) to ALL columns.
I don't think there is a good way to switch to automatic mode on smaller screens, so you need to think which columns you want to show on smaller screens and use appropriate classes.
For example, with the following markup first three columns will be shown on all devices and last three columns will be shown on desktop (>1024px) devices.
<thead>
<tr>
<th class="all">Name</th>
<th class="all">Position</th>
<th class="all">Office</th>
<th class="desktop">Age</th>
<th class="desktop">Start date</th>
<th class="desktop">Salary</th>
</tr>
</thead>
See this example for code and demonstration.
According to the official documentation:
Responsive has three modes of operation for controlling the visibility of columns in a table:
- Automatic - whereby Responsive will automatically determine if a column should be shown or not
- Manual - where you tell Responsive what columns to show on what screen sizes.
- Priority - Using
columns.responsivePriority
to tell Responsive which columns should be given visibility priority.
When you don't assign a class to a column, DataTables will automatically determine if a column should be shown or not. So if you want to force showing all columns on larger screen, you need to assign classes (desktop
, min-desktop
or all
) to ALL columns.
I don't think there is a good way to switch to automatic mode on smaller screens, so you need to think which columns you want to show on smaller screens and use appropriate classes.
For example, with the following markup first three columns will be shown on all devices and last three columns will be shown on desktop (>1024px) devices.
<thead>
<tr>
<th class="all">Name</th>
<th class="all">Position</th>
<th class="all">Office</th>
<th class="desktop">Age</th>
<th class="desktop">Start date</th>
<th class="desktop">Salary</th>
</tr>
</thead>
See this example for code and demonstration.
answered Mar 23 at 22:03
Gyrocode.comGyrocode.com
39.2k980122
39.2k980122
Ah, that is what I thought. I just had it in my head that the tables were defaulted at 6 wide by jQuery and that I should be able to have the 7th as there is ample space for it. I guess using those classes is what I have to do then, thanks very much for the helpful example!
– leeopold
Mar 24 at 23:34
add a comment |
Ah, that is what I thought. I just had it in my head that the tables were defaulted at 6 wide by jQuery and that I should be able to have the 7th as there is ample space for it. I guess using those classes is what I have to do then, thanks very much for the helpful example!
– leeopold
Mar 24 at 23:34
Ah, that is what I thought. I just had it in my head that the tables were defaulted at 6 wide by jQuery and that I should be able to have the 7th as there is ample space for it. I guess using those classes is what I have to do then, thanks very much for the helpful example!
– leeopold
Mar 24 at 23:34
Ah, that is what I thought. I just had it in my head that the tables were defaulted at 6 wide by jQuery and that I should be able to have the 7th as there is ample space for it. I guess using those classes is what I have to do then, thanks very much for the helpful example!
– leeopold
Mar 24 at 23:34
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55310017%2fhow-to-force-responsive-datatable-to-display-more-than-6-columns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown