This is a migrated thread and some comments may be shown as answers.

Grid Column doesn't display more than one space

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nani
Top achievements
Rank 2
Nani asked on 26 Dec 2011, 07:55 PM
HI,
In grid i am taken on bound column . In this one row contain name like "Sample         Text"  but its displaying "Sample Text" . Here Problem is that if have any space in the row values . its displaying only one space .

Problem in Live Demo also Please check below link
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx

In this example please double click on row for edit In Product Column having value "Chai" .
i am enter new value like that "Testing    double     space "  but its displaying only single space like that "Testing double space".

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Dec 2011, 06:23 AM
Hello,

One suggestion is you can try with &nbsp.
ASPX:
<telerik:GridBoundColumn DataField="Address" HeaderText="Address&nbsp&nbsp&nbspCity" SortExpression="Address" UniqueName="Address">
</telerik:GridBoundColumn>

Thanks,
Princy.
Tags
Grid
Asked by
Nani
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Share this question
or