Completed
Last Updated: 10 Jan 2025 11:19 by ADMIN
Release 2025 Q1 (Feb)
Damian
Created on: 08 Jan 2025 16:28
Category: Grid
Type: Bug Report
1
Dynamic Grid throws an ArgumentNullException when the Filterable() configuration is enabled

Bug report

Dynamic Grid produces a RunTimeException when the Filterable() configuration is enabled

Reproduction of the problem

  1. Configure the dynamic Grid based on the following example.
  2. Set the .Filterable() API configuration of the Grid.
  3. Notice that the application throws a System.ArgumentNullException: Value cannot be null.

Example

@model System.Data.DataTable

@(Html.Kendo().Grid<dynamic>()
    .Name("gridItem")
    .Columns(columns =>
    {
        foreach (System.Data.DataColumn dcolumn in Model.Columns)
        {
            columns.Bound(dcolumn.ColumnName).Title(dcolumn.Caption);
        }
    })
     ...
    .Filterable()
)

The aforementioned declaration will work in the previous 2024.3.1015 version of the suite.

Current behavior

The Grid makes the application throw a runtime error.

Expected/desired behavior

The Grid makes the application should not throw a runtime error.

Environment

  • Kendo UI version: 2024.4.1112
  • Browser: [all]
0 comments