Data table scrollable
Data table scrollable
Hi, I've trouble to make my data table scrollable.
I'm using DT 1.7 within pentaho and in mi table definition reported below I'm able to set the language property
[code]
tabDef : {
tableStyle : 'themeroller',
colTypes : ['string','numeric', 'numeric'],
colWidths : ['0,50', '0,25', '0,25'],
colFormats: [null,'%.0f','%.0f'],
queryType : 'mdx',
oLanguage: { "sSearch": 'Cerca:', "sZeroRecords": 'No data' },
paginate: false,
oSettings: {"oScroll": {"sY" : '250px'}},
oScroll: {"sY" : '250px'},
autoWidth: true,
scrollCollapse: true,
scrollY: "250px"
[/code]
In which way I can make my table scrollable? With oSettings: {"oScroll": {"sY" : '250px'}}, or oScroll: {"sY" : '250px'}. What I'm wrong?
Thanks guys
I'm using DT 1.7 within pentaho and in mi table definition reported below I'm able to set the language property
[code]
tabDef : {
tableStyle : 'themeroller',
colTypes : ['string','numeric', 'numeric'],
colWidths : ['0,50', '0,25', '0,25'],
colFormats: [null,'%.0f','%.0f'],
queryType : 'mdx',
oLanguage: { "sSearch": 'Cerca:', "sZeroRecords": 'No data' },
paginate: false,
oSettings: {"oScroll": {"sY" : '250px'}},
oScroll: {"sY" : '250px'},
autoWidth: true,
scrollCollapse: true,
scrollY: "250px"
[/code]
In which way I can make my table scrollable? With oSettings: {"oScroll": {"sY" : '250px'}}, or oScroll: {"sY" : '250px'}. What I'm wrong?
Thanks guys
This discussion has been closed.