I am using table with fixed two column from the left like in this. I am using nicescroll. The problem is nicescroll plugin starts scrolling from the left to right on the complete table. I want it to scroll from the end of fixed columns to end of the table and scroll all the columns. Means that the scroller parent div width is less than the actual area to scroll something like relative scrolling.
$('.table').niceScroll({
cursorborder: "",
cursorcolor: "#b1babe",
boxzoom: false,
autohidemode: false,
cursorfixedheight: 140,
horizrailenabled: true,
railhoffset: {top:0, left: 0}
});
$("div[id^='ascrail']").show();