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

Grid Row Height

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 1
Gabriel asked on 16 Dec 2015, 12:59 PM

Hi there

 I just startet my first RadGrid Project in ASP.Net.

My question is:

Can I display a large cell with long text in one or two lines and then make something like ". . ." to show that the text is longer than the cell.

Another question is:

How can change the "Update" and the "Cancel" text for the Editing Form.

 

Greetings and thx for your help :-)

1 Answer, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 21 Dec 2015, 11:34 AM
Hi Gabriel,

You can change the button text in the auto-generated EditForms using the following properties:

<MasterTableView ...>
    <EditFormSettings>
        <EditColumn UpdateText="Process" CancelText="Abort" ButtonType="PushButton">
        </EditColumn>
    </EditFormSettings>

As for the long text requirement, you can use the ItemDataBound event handler to access the cell and if its text content is too long, you can replace it only with the first several words and add "..." to the end. To enable the user to see the whole content on hover action, you can set it to the Tooltip of the cell:
http://www.telerik.com/forums/display-large-text-field-column-in-tooltip

Hope this helps.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Gabriel
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or