Completed
Last Updated: 29 Mar 2022 14:30 by ADMIN
Release 3.2.0
NullReferenceException with OnRead + LoadGroupsOnDemand
Completed
Last Updated: 29 Mar 2022 14:20 by ADMIN
Release 3.2.0
Created by: Gary
Comments: 0
Category: Grid
Type: Bug Report
1

Grouping by a nested (child) Grid column is not possible in OnStateInit.

A possible workaround is to group in OnAfterRenderAsync.

@using Telerik.DataSource

<TelerikGrid Data=@GridData @ref="TheGrid"
             Groupable="true"
             OnStateInit="@((GridStateEventArgs<User> args) => OnStateInitHandler(args))">
    <GridColumns>
        <GridColumn Title="Personal Information">
            <Columns>
                <GridColumn Field=@nameof(User.LName) Title="Last Name" />
                <GridColumn Field=@nameof(User.FName) Title="First Name" />
            </Columns>
        </GridColumn>
        <GridColumn Title="Status and Last Login">
            <Columns>
                <GridColumn Field=@nameof(User.StatusName) Title="StatusName" />
                <GridColumn Field=@nameof(User.LastLoginDate) Title="Last Login" DisplayFormat="{0:yyyy-MMM-dd}" />
            </Columns>
        </GridColumn>
    </GridColumns>
</TelerikGrid>

@code {
    TelerikGrid<User> TheGrid { get; set; }
    List<User> GridData { get; set; }

    protected override void OnInitialized()
    {
        var data = new List<User>();
        for (int i = 1; i <= 20; i++)
        {
            data.Add(new User()
            {
                Id = i,
                FName = "First Name " + i,
                LName = "Last Name " + i,
                StatusId = i * 123,
                LastLoginDate = DateTime.Now,
                StatusName = "Status Name " + (i % 5 + 1)
            });
        }
        GridData = data;
    }

    private void OnStateInitHandler(GridStateEventArgs<User> args)
    {
        GridState<User> desiredState = new GridState<User>()
        {
            GroupDescriptors = new List<GroupDescriptor>()
            {
                new GroupDescriptor()
                {
                    Member = nameof(User.StatusName),
                    MemberType = typeof(string)
                }
            }
        };

        // will trigger an exception if grouping by a nested column
        args.GridState = desiredState;
    }

    @*protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
        {
            var desiredState = TheGrid.GetState();

            desiredState.GroupDescriptors = new List<GroupDescriptor>()
            {
                new GroupDescriptor()
                {
                    Member = nameof(User.StatusName),
                    MemberType = typeof(string)
                }
            };

            await TheGrid.SetState(desiredState);
        }

        await base.OnAfterRenderAsync(firstRender);
    }*@

    public class User
    {
        public long Id { get; set; }

        public int StatusId { get; set; }
        public string StatusName { get; set; }

        public string FName { get; set; }
        public string LName { get; set; }

        public DateTime LastLoginDate { get; set; }
    }
}

Completed
Last Updated: 26 Mar 2022 12:52 by ADMIN
Release 3.2.0
Created by: Tom
Comments: 1
Category: Grid
Type: Bug Report
0

GridCheckBoxColumn:  The check disappears when focus is on a editable cell.

    <TelerikGrid Class=k-grid 
                 Data="@adherenceAgents" 
                 EditMode="@GridEditMode.Incell"
                 Height="150px"
                 SelectionMode="@GridSelectionMode.Single">
                    
        <GridColumns>
            <GridCheckboxColumn SelectAll="false" Title="Select" Width="70px" />
            <GridColumn Field="@(nameof(AdherenceAgent.Scheduled))" Editable="false" Title="Scheduled" />
            <GridColumn Field="@(nameof(AdherenceAgent.EmployeeId))" Editable="false" Title="Employee ID" />
            <GridColumn Field="@(nameof(AdherenceAgent.Name))" Editable="false" Title="Name" />
            <GridColumn Field="@(nameof(AdherenceAgent.AchievedAdherences))" Title="Points" />
            <GridColumn Field="@(nameof(AdherenceAgent.PossibleAdherences))" Title="Possible" />
            <GridColumn>
                <HeaderTemplate>Adherence<br/>Score</HeaderTemplate>
            </GridColumn>
         </GridColumns>
    </TelerikGrid>

 

Unplanned
Last Updated: 24 Mar 2022 09:29 by Gabriele
Created by: Gabriele
Comments: 0
Category: Grid
Type: Feature Request
6

Allow the Grid to support Enums which are mapped to use datatypes different from int. Currently, if I try to use the following Enum, an InvlidCastException is generated:

public enum ShortEnum : short
{
    Value1,
    Value2,
    Value3
}

Unplanned
Last Updated: 23 Mar 2022 12:23 by ADMIN
Created by: Nicolas
Comments: 2
Category: Grid
Type: Feature Request
5

Using OnRowDrop works fine but there is no configuration possible to set the column at the end of the grid.

Of course it's a personnal taste but I like to have the all the actions buttons on the right side

Completed
Last Updated: 21 Mar 2022 11:57 by ADMIN
Release 3.2.0
Created by: John
Comments: 0
Category: Grid
Type: Bug Report
1

https://blazorrepl.telerik.com/QGadEnbT24qbDh1G49

If the window component does not implement a Width parameter, it will seem like docked to right when dragging. The issue stems from the update of top and left styles while the width of the component grows with them.

1. Open the repl

2. Initiate dragging

**Workaround**

Set the Width parameter of the Window component

Completed
Last Updated: 17 Mar 2022 15:48 by ADMIN
Release 3.2.0
Created by: Frank
Comments: 0
Category: Grid
Type: Bug Report
1

Hello,

My Grid is setting filters in OnStateInit. Then, the filters are cleared via GridRef.SetState(null)

This used to work until 3.0.1, but not in 3.1.0. Here is a test page:

https://blazorrepl.telerik.com/mmEdFnvA31osNnjO20
Unplanned
Last Updated: 16 Mar 2022 14:07 by Greg

Does the Blazor grid have any support for any or all queries on sub-property collections? I would like to have the grid OnRead be able to generate a query against a sub-entity collection.

E.g.

GET serviceRoot/People?$filter=Emails/any(s:endswith(s, 'contoso.com'))

From what I can tell the Column.FieldName property only will generate a valid query for scalar properties. Is there any way to make this work?

Given the Northwind OData sample https://demos.telerik.com/kendo-ui/service-v4/odata. I would like to display a grid of all customers. In the grid, I would like to have a column that provides filtering for the orders shipper column as in the query below.

https://demos.telerik.com/kendo-ui/service-v4/odata/Customers?$expand=Orders&$filter=Orders/any(d: contains(d/Shipper/CompanyName,'Speedy Express'))

There does not seem to be a way for the in-built filter mechanism to use a lambda and it seems like there should be.

Unplanned
Last Updated: 16 Mar 2022 10:31 by ADMIN

When you type something in the grid searchbox, there will be a X at the end to clear the box.

However, if you restore the grid from previously stored state like localstorage, and if the box has value, the X is not there.

Thanks!

Unplanned
Last Updated: 03 Mar 2022 13:06 by ADMIN
Created by: Nemo
Comments: 5
Category: Grid
Type: Bug Report
1

Hi, how to show a pointer cursor while mouse over the group arrow icon? I could probably set style="cursor: pointer", but just wondering if there is any other approach. Thanks.

Unplanned
Last Updated: 02 Mar 2022 11:47 by Duncan
When the popup is larger than the browser/screen size, scrolling causes the popup to suddenly close
Completed
Last Updated: 25 Feb 2022 10:34 by ADMIN
Release 3.1.0
Created by: Eric
Comments: 15
Category: Grid
Type: Feature Request
21

I would like to be able to customize the title in Editing Popup. 

 

<AdminEdit>

We plan to expose the following customization options:

  • Title,
  • Width
  • Height
  • MaxWidth
  • MaxHeight

</AdminEdit>

Duplicated
Last Updated: 23 Feb 2022 19:58 by ADMIN
When you enter PopUp editing mode in the Grid the windows is not responsive and goes off the screen. That causes inability to operate with the buttons (cannot either close it or save the changes).
Completed
Last Updated: 17 Feb 2022 15:34 by ADMIN
Release 3.1.0

Sometimes, we just want a simple equal filter in grid, without operators options

---

ADMIN EDIT

If you want to modify the current behavior and layout of the filters, use the filter template (there is another example in this thread - in the post from 29 Jun 2020 that you can also use as base).

---

Completed
Last Updated: 17 Feb 2022 14:33 by ADMIN
When adding a new item to a grid, if you type in information into the required fields, before hitting save, it also allows you to edit a record. at this point, you have a new record and an edit record both in edit mode.
Completed
Last Updated: 17 Feb 2022 14:19 by ADMIN
Created by: Armineh
Comments: 5
Category: Grid
Type: Feature Request
8
I want to reduce length of pagination selection below the grid  ( currently is showing as   << 1  2 3 4 5 6 7 8 9 10 ...>>     but I want to have it like << 1 2 3 ....>>)
Unplanned
Last Updated: 16 Feb 2022 11:25 by Michel
When the user enters edit mode, the OnStateChanged event fires twice with PropertyName equal to "OriginalEditItem".
Unplanned
Last Updated: 15 Feb 2022 16:25 by Jeffrey
Created by: Wei
Comments: 1
Category: Grid
Type: Feature Request
21
I am using InCell editing with an editor template and when I use the State to close the cell for editing, the grid re-renders and focus is lost. I need a method to call after the state call that will focus the cell of the grid - it could take the row model and a field name as parameters to know which cell to focus.
Completed
Last Updated: 11 Feb 2022 08:55 by ADMIN
Release 2.18.0
Created by: Danilo
Comments: 4
Category: Grid
Type: Bug Report
11
I want to be able to set its title, and the parameter is missing at this point. It is available for the "standard" TelerikButton.
Completed
Last Updated: 11 Feb 2022 08:18 by ADMIN
Release 3.1.0
Created by: Marcus
Comments: 0
Category: Grid
Type: Bug Report
1

Hello,

If the Grid has X columns at first, and then it renders Y more columns, the new Y columns will not be resizable. Here is a test page.

A possible workaround is to define all columns initially, but hide some of them with Visible="false".

This worked in 2.29 and broke in 2.30.