Completed
Last Updated: 23 Nov 2020 11:16 by ADMIN
Release 2.20.0
Jan Hindrik
Created on: 07 Jun 2020 16:45
Category: Grid
Type: Bug Report
4
Setting more than one grouping level in OnStateInit without Navigable=true causes stackoverflow error

When I set more than one group on StateInit, I get an error - either the browser closes, or I see a stack overflow.

 

1 comment
ADMIN
Marin Bratanov
Posted on: 07 Jun 2020 16:50

There are two workarounds I can offer:

  • add the Navigable="true" setting to your grid
  • Or, use the OnAfterRenderAsync event to call the .SetState() method of the grid (a sample is attached).

The downside of the second is that if you use OnRead there will be request for the initial data, and a second one after .SetState().

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Attached Files: