NiceScroll Scroller in smaller div than scrolled div width
<p>I am using table with fixed two column from the left like in <a href="http://codepen.io/lck/pen/GoryVj" rel="nofollow">this</a>. 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.   </p>

<pre><code>$('.table').niceScroll({
  cursorborder: "",
  cursorcolor: "#b1babe",
  boxzoom: false,
  autohidemode: false,
  cursorfixedheight: 140,
  horizrailenabled: true,
  railhoffset: {top:0, left: 0}
});
$("div[id^='ascrail']").show();
</code></pre>