Declined
Last Updated: 13 Jan 2021 08:53 by ADMIN
Nils
Created on: 07 Jul 2020 09:22
Category: Grid
Type: Bug Report
1
Change Event for Select() doesn't work with GroupPaging

Hey,

I might have found another bug.

 

The "Change" Event isn't triggered for checkboxes if GroupPaging is set to true.

If it's disabled, the event gets caught as expected.

 

Html.Kendo().Grid<PlotWhitelistViewModel>()

.Name("whitelistGrid")
                  
                   .Columns(c =>
                   {
                       c.Bound(x => x.Id).Hidden();
                       c.Select().Width(50);
                       c.Bound(x => x.ArticleNo);
                   })
                   .Events(x =>
                   {
                       x.Change("onWhitelistGridChange");
                   })
                   .Scrollable(s => s.Virtual(true))
                   .DataSource(dataSource => dataSource
                                   .Ajax()
                                   .Group(x => x.Add(y => y.ArticleGroup))
                                   .GroupPaging(true)
                                   .PageSize(50)
                                   .Read("GridRead_Whitelist", "Plot", new {plotId = Model})
                                   .Model(m =>
                                   {
                                       m.Id(f => f.Id);
                                       m.Field(f => f.ArticleNo);
                                       m.Field(f => f.ArticleGroup);
                                       m.Field(f => f.IsChecked);
                                   }))

 

Regards

Nils

1 comment
ADMIN
Ivan Danchev
Posted on: 14 Jul 2020 09:10

Hi Nils,

I've tested the scenario and at my end the Change event is fired as expected when checking/unchecking the checkboxes with GroupPaging set to true.

Attached to this reply you can find a sample runnable project I used to test the Grid's behavior. Could you modify it accordingly so that it demonstrates the issue and attach it back for further review?

Regards,
Ivan Danchev
Progress Telerik

Attached Files: