asp.net mvc - Horizontal scrollbar never appears in Kendo Grid -
i'm trying make horizontal scrollbar appear when table width less total column widths.
i have set width each column, somehow treats numbers ratios. if define 2 columns same width value, columns have 50% width.
for example,
columns.bound(p => p.column1).width(40); columns.bound(p => p.column2).width(40);
would rendered same way like
columns.bound(p => p.column1).width(100); columns.bound(p => p.column2).width(100);
so, if columns have 20 , 30, columns 40% , 60% of width respectively.
considering have set width each column, miss?
picture: http://i.imgur.com/0utiwe8.png
<style> @media (max-width: 800px) { .gridclassname { overflow-x: scroll; } } <style>
//change max width number upto scroll should appear
Comments
Post a Comment