Cut Header Width Size
Cut Header Width Size
Nmastoris33
Posts: 3Questions: 0Answers: 0
I am currently using a half-width table for site, but the only problem is that the header/footer is not scaling with the columns themselves. this is leaving a large amount of whitespace. This is my code: (I know it's simple, I'm new to this.)
[code]
$(document).ready(function () {
$("#jobSummaryTable").dataTable({
"iDisplayLength": 25,
"bDestroy": true,
"bJQueryUI": true,
"bAutoWidth": true,
"bFilter": false
});
[/code]
[code]
Count
Percentage
Status
@foreach (var item in Model.JobDetailItems)
{
@item.ItemCount
@item.Percentage%
@if (string.IsNullOrEmpty(item.TargetController))
{
@item.ProcessStateDescription
}
else
{
@Html.ActionLink(item.ProcessStateDescription, "Index", item.TargetController, new { id = item.ProcessStateId, JobId = Model.JobId }, new { })
}
}
[/code]
I'm hoping there is a simple piece of code that can solve this, thanks for the help in advance.
[code]
$(document).ready(function () {
$("#jobSummaryTable").dataTable({
"iDisplayLength": 25,
"bDestroy": true,
"bJQueryUI": true,
"bAutoWidth": true,
"bFilter": false
});
[/code]
[code]
Count
Percentage
Status
@foreach (var item in Model.JobDetailItems)
{
@item.ItemCount
@item.Percentage%
@if (string.IsNullOrEmpty(item.TargetController))
{
@item.ProcessStateDescription
}
else
{
@Html.ActionLink(item.ProcessStateDescription, "Index", item.TargetController, new { id = item.ProcessStateId, JobId = Model.JobId }, new { })
}
}
[/code]
I'm hoping there is a simple piece of code that can solve this, thanks for the help in advance.
This discussion has been closed.
Replies
Allan
Can't link you to the direct site, but this is the image that it looks like. Need the header and footer to only go out to the end of the table itself.
Allan