How to load data using datatable in PropertyGrid?

Grids for WPF Forum

Posted 14 years ago by Shanmuga Priya

I am having a Datatable with three columns namely key,value,category. I want to use these data in my propertygrid. How to do that? I put


but it doesn't work.

Please help me in this regard.

thanks in advance,


[Modified at 11/15/2010 02:16 AM]

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Priya,

You would have to create a custom DataFactory to convert your DataTable to a list of data accessors. The Custom Factory (Dictionary) QuickStart shows an example of how this can be done.

The code you have above would show the properties of the DataTable, not it's contents/rows.

Actipro Software Support

The latest build of this product (v24.1.2) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.