TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Reylin Mathew
NA
347
75.8k
Datatable - How to set height of column in datatable jquery
Jul 27 2020 10:26 PM
This is my code..
dtTest = $(
'#grddtTest'
).DataTable({
"filter"
:
false
,
"paging"
:
false
,
"orderClasses"
:
false
,
"order"
: [[0,
"asc"
]],
"info"
:
true
,
//"bAutoWidth": false,
"ordering"
:
false
,
"dom"
:
'<"top">rt<"bottom"Bpfli><"clear">'
,
"columnDefs"
: [{ targets: [0, 1], orderable:
false
},
{
"height"
:
"500px"
,
"targets"
: 0 }
// {
// targets: [1], render: $.emsyne.Utility.ellipsis(50)
// }
],
"buttons"
: [{
}],
'responsive'
:
true
,
"bProcessing"
:
true
,
initComplete:
function
() {
}
});
{ "height": "500px", "targets": 0 } or { "width": "500px", "targets": 0 } //this code is not working
plx help me..
thnkz in advace..
Reply
Answers (
1
)
Syntax Error in Jquery
Javascript Date Related Issue