Duplicated
Last Updated: 02 Mar 2020 13:25 by ADMIN
Gudmar
Created on: 28 Aug 2019 11:55
Category: UI for Blazor
Type: Bug Report
1
Editing grid template columns
When in edit mode the editable area width can be larger than the column width if column width is small, for example 100.
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
4 comments
ADMIN
Marin Bratanov
Posted on: 29 Aug 2019 10:41

Hello Gudmar,

I understand now what you mean. We also had a similar question just now in a private ticket and the following feature request item explains the situation, and offers a workaround (your vote is already in): https://feedback.telerik.com/blazor/1427406-grid-editors-should-take-100-width-of-the-cell.

With this, I am closing this one as a duplicate, and you can Follow the page I linked above for status updates.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Gudmar
Posted on: 29 Aug 2019 10:03

I added a screenshot.

Here is part of the code:

            <TelerikGridColumn Field=@nameof(Employee.WorkPhone) Title="Borðsími" Width="75" />
            <TelerikGridColumn Field=@nameof(Employee.GSM) Title="GSM" Width="100">
                <Template>
                ...
                </Template>
            </TelerikGridColumn>
            <TelerikGridColumn Field=@nameof(Employee.HomePhone) Title="Heimasími" Width="100" />

 

Attached Files:
Gudmar
Posted on: 28 Aug 2019 18:58

Hi Marin,

There is no problem with the column width when the grid is *not* in edit mode.

Say you have a grid with many editable columns, some have width 250 others have width 75.

When you enter edit mode then the text boxes that appear seem to have a fixed size.

For columns with width 250 the text box fits the column but for columns with width 75 the text box seems to go out of bounds and doesn't fit the column, part of it seems to disappear.

I would have expected the text box when in edit mode to fit the column no matter what the column width 250 or 75.

Maybe I could send a screen shot tomorrow if that clarifies.

 

Gudmar

ADMIN
Marin Bratanov
Posted on: 28 Aug 2019 16:30

Hi Gudmar,

Could you provide some more details on the issue you are facing? If you define a width for the column that is insufficient, it is expected that the contents may get clipped. What is the grid behavior that you want to see changed in this regard, considering that the general browser rendering of a <table> with table-layout: fixed would do the same?

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor