Last Updated: 24 Jan 2020 09:10 by ADMIN
Created on: 23 Jan 2020 22:50
Category: DataGrid
Type: Feature Request
Expose the internal APIs of the DataGrid internals to allow for custom DataGridColumn creation.

The DataGrid has the ability to add custom controls to the cell via Template columns; however, the contents of the cell are always visible and there is no way to distinguish between editing and display modes like you can with the type data columns. Furthermore, it may be desirable to create custom column types as the reusability would be easier than using a template or a template selector.

Currently, the DataGrid columns are public and unsealed; however, much of their internals are marked as internal. For example, overriding the CreateCellArranger method would allow custom editor types when the cell is edited. This would require exposing the CellArranger base classes as well.

Please mark more of the internals as public so that truely custom DataGridColumns can be created.

1 comment
Petar Marchev
Posted on: 24 Jan 2020 09:10

Hello Chris,

At this moment we have no plans to make the internals of the DataGrid public.

You mention two features that are not currently covered - one is creating a custom column, second is ability to use/choose an editor for a template column.

The first was already logged here:

DataGrid: Provide an API for creating custom columns

You can vote for it and track its status.

On your behalf I created a new feature request here:

DataGrid: Add support for edit mode in a template column

You can vote and track it.

Changing something from internal to public is not a feature on its own, but is a way to get a feature. I believe that based on your description the two mentioned feature requests are what you are after. This is why I have declined this feature request and related the two approved ones.

Let me know if you need more information.

Petar Marchev
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items