I am currently working on a table layout where I have fixed two columns on the left, similar to what is shown in this example. To enhance the scrolling experience, I am using the nicescroll plugin. However, I have encountered an issue where the plugin begins scrolling from the leftmost side of the table rather than starting at the end of the fixed columns and then moving towards the right to cover all columns. Essentially, I would like the scrolling behavior to resemble relative scrolling, where the parent div's width is smaller than the total scrollable area.
$('.table').niceScroll({
cursorborder: "",
cursorcolor: "#b1babe",
boxzoom: false,
autohidemode: false,
cursorfixedheight: 140,
horizrailenabled: true,
railhoffset: {top:0, left: 0}
});
$("div[id^='ascrail']").show();