(1) We need to show free text column value in Grid column, it might contain spaces, carriage return kind of text also to show in the grid column.
Any default support for it.
(2) Is there any way that we can fix row hight for the grid giving some fix size.
Regards,
Hitesh Taneja
3 Answers, 1 is accepted
0
Boyan Dimitrov
Telerik team
answered on 01 Sep 2015, 11:29 AM
Hello Hitesh,
Straight to your questions:
1. There is a restriction only that columns.field should be a valid Javascript identifier and should contain no spaces, no special characters, and the first character should be a letter.
2. There is a style applied to the td elements (using the .k-grid td selector) with line-height: 1.6em; If you use higher specificity you can apply your own line height value in order to override the default one.
Regards,
Boyan Dimitrov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
[quote]1. There is a restriction only that columns.field should be a valid Javascript identifier and should contain no spaces, no special characters, and the first character should be a letter.[/quote]
Is there a work around to allow carriage returns in the text fields? Thanks.
0
Boyan Dimitrov
Telerik team
answered on 10 Mar 2016, 01:57 PM
Hello Luke,
There is a workaround that allows users to have special characters in the column.field, but it partially resolved the problem (please refer to the http://dojo.telerik.com/ufenA example). It works only for displaying data, but operations such as filtering, sorting and etc are not working. This is why we do not support having special characters or empty spaces in the column field names.
Regards,
Boyan Dimitrov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!