Problem with displaying the scroller
Problem with displaying the scroller
Hi All,
I am trying to display a DataTable with a horizontal and a vertical scrollbar.
Below is the code
[code]
$(document).ready(function() {
$('#productInfo').dataTable( {
"sScrollY": 190,
"sScrollX": "95%",
"sScrollXInner": "100%",
"sDom": "ftS",
"aaData":productList,
"aoColumns": [
{ "sTitle": "Id" },
{ "sTitle": "Name" },
{ "sTitle": "Description" }
]
} );
} );
[/code]
- productList : Is my javascript array containing a list of products in it.
But I am not successful in displaying the scroller.
The DataTable is truncated at the bottom and on left hand side but I do not see any scrollbar being displayed.
I am very new to these technologies. Please let me know what I am missing here.
Thank U for any help
Roopa
I am trying to display a DataTable with a horizontal and a vertical scrollbar.
Below is the code
[code]
$(document).ready(function() {
$('#productInfo').dataTable( {
"sScrollY": 190,
"sScrollX": "95%",
"sScrollXInner": "100%",
"sDom": "ftS",
"aaData":productList,
"aoColumns": [
{ "sTitle": "Id" },
{ "sTitle": "Name" },
{ "sTitle": "Description" }
]
} );
} );
[/code]
- productList : Is my javascript array containing a list of products in it.
But I am not successful in displaying the scroller.
The DataTable is truncated at the bottom and on left hand side but I do not see any scrollbar being displayed.
I am very new to these technologies. Please let me know what I am missing here.
Thank U for any help
Roopa
This discussion has been closed.
Replies
I'm XiaoHua, I'm glad to meet you.
I like the people here,it makes me feel at home!
I'd like to help you in learning Chinese. Also hope to improve next myself in English.I hope we can be good friends
[url=http://www.blogster.com/coachhandbagscollection/coach-handbags-really-cool]Coach Handbags[/url]
[url=http://coachhandbagslover.blogdetik.com/2011/07/23/coach-handbags-favors/]coach handbags favors[/url]
[url=http://coach-handbags-collection.onsugar.com/coach-handbags-lovely-18406211]coach handbags lovely[/url]
[url=http://bloguay.com/coachhandbagslover/2011/07/26/coach-handbags-suprise/]coach handbags suprise[/url]
Can anybody help me on this please.
Thanks
Roopa