Need More Info
Last Updated: 07 Dec 2022 07:35 by ADMIN
Katja
Created on: 18 Nov 2022 14:23
Category: UI for Blazor
Type: Feature Request
1
Grid - option to automatically add title property (containing text value) on every td (for columns without Template)

Hi,

Could it be possible to add an option to automatically add title property (containing text value) on every td?
We don't like 'multi-row' rows in a grid, so we use ellipsis with white-space no-wrap.. So it would be very useful to automatically add a title containing the text value of the cell (of course only for cells without a Template).
Otherwise we need to add a Template with a title to every column we already have, which is... 

Thanks in advance!

Greetings.

3 comments
ADMIN
Svetoslav Dimitrov
Posted on: 07 Dec 2022 07:35

Hello Katja,

You can define any arbitrary HTML content in the dynamic column template (it is a RenderFragment), so wrapping the @propValue with a span is possible. Does this solution fit your needs? 

Regards,
Svetoslav Dimitrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Katja
Posted on: 30 Nov 2022 11:11

Hello

We already have a big number of grids and columns in our applications. A lot requiring ellipsis.. Therefore we were searching an overall solution to automatically add title to every td. 

Thanks for pointing out the Dynamic Column Template approach, it's already a bit more generic than having to add <template> (+ content) everywhere. 

But an option on the grid to change the default column template would be even better of course. Allowing us to change it from '@propValue' to something like '<span title="@propValue">@propValue</span>'..

Regards,
Katja

ADMIN
Svetoslav Dimitrov
Posted on: 25 Nov 2022 08:10

Hello Katja,

I would like to suggest using an approach similar to the Dynamic Column Template that can easily be reused. This implementation course will allow you to define a template once and use it across multiple columns. With a reusable template for each of the desired columns should be able to follow the guidelines from the Tooltip In Grid sample application

Let me know if this approach is suitable for you. Also, I would like some feedback on the number of columns you have in the Grid that have a long text and an ellipsis is required. 

Regards,
Svetoslav Dimitrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.