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

Feature request: add title tag to grid td

2 Answers 242 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 15 Feb 2012, 11:08 AM
Hi,

Using your grid which currently doesn't support column resize, we notice that sometimes the content, if wider than the width, is not shown.  Can you please add a title attribute to the TD's generated, and duplicate the cell content there (stripped of any html tags...), so when hovering the cell, the user can still read the contents?

2 Answers, 1 is accepted

Sort by
0
Sarvesh
Top achievements
Rank 1
answered on 15 Oct 2012, 06:02 AM
Hi,

This can be achieved using a column template.

{ field: "Name", title: 'First Name', template: '<p title= "#=Name#"> #=Name# </p>' },

you can call any javascript method in the template for processing the data before display.

Regards,
Sarvesh
0
Nohinn
Top achievements
Rank 1
answered on 15 Oct 2012, 09:09 AM
Or use the latest kendo code (SP) as it now supports column resizing.
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Sarvesh
Top achievements
Rank 1
Nohinn
Top achievements
Rank 1
Share this question
or