Unplanned
Last Updated: 27 Jan 2025 09:59 by boone
boone
Created on: 27 Jan 2025 09:59
Category: Grid
Type: Bug Report
1
Using OnModelInit and a custom Grid popup edit form throws a "no parameterless constructor" exception

The scenario is:

In this case, the Grid should not try to create or clone an edit item on its own. Instead, it should rely on the returned instance from OnModelInit. However, the Grid first fires OnModelInit and then it still tries to clone or create an edit item, which causes an exception.

A possible workaround is to manage the whole edit process manually, similar to the example with ListView popup editing.

0 comments