Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom columns #122

Closed
dotMorten opened this issue Jun 16, 2017 · 3 comments
Closed

Allow custom columns #122

dotMorten opened this issue Jun 16, 2017 · 3 comments

Comments

@dotMorten
Copy link

You can't currently inherit from DataGridColumn, since it contains several internal abstract members.
To simplify column creation for certain types, it would be much easier to be able to create your own columns by overriding CreateContainer and return your own framework element.

@APopatanasov
Copy link
Collaborator

Hi @dotMorten ,
For such scenarios where the content of the cell needs to be customized with a specific FrameworkElement the Template Column could be used:
http://docs.telerik.com/devtools/universal-windows-platform/controls/raddatagrid/columns/datagrid-templatecolumn

Could you please give it a try?

@dotMorten
Copy link
Author

@APopatanasov I'm well aware of template columns, but these don't let you run more customized code tailored for certain types, where you return which set of controls you want based on logic. The only thing you can return there are data templates, which can't be created at runtime.

@APopatanasov
Copy link
Collaborator

APopatanasov commented Jun 22, 2017

Thanks for the provided additional information of your scenario. We accept your suggestion for the feature. If you are interested on implementing this feature you could send us a pull request with the needed changes and we will be glad to review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants