This question is locked. New answers and comments are not allowed.
Hi,
I am using Telerik Grid for my application. I want to have a feature in which the columns of a grid should not auto Wrap itself and if the content of Column increases the column width, they should be clipped and shown with ellipses. What is the best way to achieve this?
I was able to achieve this by using Css properties :
So for my column i have added below attributes:
I am using Telerik Grid for my application. I want to have a feature in which the columns of a grid should not auto Wrap itself and if the content of Column increases the column width, they should be clipped and shown with ellipses. What is the best way to achieve this?
I was able to achieve this by using Css properties :
So for my column i have added below attributes:
.HtmlAttributes(new { @style = "overflow: hidden; white-space: nowrap; text-overflow: ellipses;" }); And added Scrollable attribute to my Grid:.Scrollable(s => s.Enabled(true).Height("auto"))Now I am getting the desired behaviour but with that i am getting a vertical Scroll bar which i Don't want.
Is there a way by which I can hide the vertical scrollbar? It is disabled currently but i want to hide it.
Or is there a better way to implement this functionality?
Thanks In Advance.
