2013-07-17 41 views
0

我需要更改滾動條在手錶中的顯示方式。誰知道如何做到這一點?handontable如何更改表格旁邊的滾動條

function WalkontableScroll(instance) { 
this.instance = instance; 
this.wtScrollbarV = new WalkontableScrollbar(instance, 'vertical'); 
`enter code here`this.wtScrollbarH = new WalkontableScrollbar(instance, 'horizontal'); 
} 
+1

你的問題是見here?你有什麼需要幫助的?那麼這個部分是怎麼樣的?你能分享更多的代碼嗎? – PostureOfLearning

+0

http://jscrollpane.kelvinluck.com/arrows.html - 我想做一些這樣的與standart handontable插件http://handsontable.com/ – user2592644

回答

-1

如果你想滾動條,只需設置容器的寬度,高度和CSS overflow: scroll

$example1.handsontable({ 
    data: createBigData(), 
    colWidths: [55, 80, 80, 80, 80, 80, 80], //can also be a number or a function 
    rowHeaders: true, 
    colHeaders: true, 
    minSpareRows: 1, 
    stretchH: 'all', 
    contextMenu: true, 
    width: 100, 
    height: 100 
}); 

更多細節

+0

不。我需要一些滾動按鈕滾動條。像heer http://manos.malihu.gr/tuts/custom-scrollbar-plugin/complete_examples.html – user2592644