DataGrid Column read only property

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

Hi,

I have a data grid where I created two data columns using the designer.
one of the columns I set the read only property to true, the other to
false. Yet, when I run the code, I can change the values in the column
where I set the read only property to true. Would anyone know why that
is?
 
I think I may have found the problem, but it brings up another problem.

I have two datagrids in my app. I want to map both to ArrayLists
(different ones though). So when I create a DataGridTableStyle, I
choose a MappingName of ArrayList for the first one and everything
works great.

However, I couldn't originally choose ArrayList for the second one. It
said that name already existed.

Strangely enough, when I go back and rename both to something else and
rename them back to ArrayList, everything works fine.

I'm not really enjoying the datagrids, to be honest. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top