Click here to Skip to main content
14,692,430 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have a kendo grid, with text column with width - 30.
data of text column is fetched from database.
If the data which is fetched from database is more than the width then it is wrapped to next line i.e. suppose if the text - code project which is exceeding width - 30 then it is shown as
Now I want to show it as code... in the same line

I have tried in google but I couldn't get it.
can you help me getting a solution.
Thanks in advance
Karthik_Mahalingam 11-Feb-15 4:24am
post your code
sri4dotnet 11-Feb-15 4:51am
dataSource: ds
, sortable: true
, selectable: true
, scrollable: true
, height: 400
, columns: [ {title: "title", field: "title", width: 30, filterable:false }]
Karthik_Mahalingam 11-Feb-15 4:53am
width 30 is very less, choose the width which fits the column header text.
sri4dotnet 11-Feb-15 5:02am
column of the width is fixed. need to work the text what we get from the database. for example it is text is karthik Bangalore then it is showing as
but I want to show as karthik... in the same line
Karthik_Mahalingam 11-Feb-15 5:05am
r u applying any css ?
what is the datasource? is it json ?
post sample json data.

1 solution

add this css

.k-grid td {

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900