I am trying to show the ellipsis for long values โโin a kendo grid. According to the telerik forum I need to install the file in css
.k-grid td
{
overflow: hidden;
text-overflow: ellipsis;
}
I am trying to set styles in a grid-bound event as below
var grid = $("#kendoGrid").kendoGrid({
columns: columnConfiguration,
dataBound: function (e) {
$("#kendoGrid td").css("overflow", "hidden");
$("#kendoGrid td").css("text-overflow", "ellipsis");
},......other events and functions
But that does not work. The grid still does not show ellipsis.
How can I do to show the ellipsis. Note. I can not put this in a css file.
source
share