Hi there,
i´m using the xamdatagrid with 2 fieldlayouts. one parent and one child layout.
when i edit one cell in the parent layout the value should be applied to all the rows of the childfieldlayout.
this works fine BUT: i just set the value of the childrecord when my cell IsEnabled and to check this i use this:
CellValuePresenter.FromCell(item.Cells[e.Cell.Field.Name]).IsEnabled
but if the cell of the childlayout is not in view (because the parent-record is not expanded) the CellValuePresenter is null.
to solve this i set the IsExpanded-Property of the e.Cell.Record to true. BUT:
Now it´s gonna by tricky: when the record expands the xamdatagrid scrolls automatically to the first column on the left.
How can this happen?!
Hope you can help me out here....
regards
cloud
Hello Cloud,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
I have modified teh sample I sent you before, so now it has 40 Columns and 100 Rows and I am still not able to reproduce your behavior. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your
thank you for your answer but this is not solving my problem.
i did it nearly like you showed me but in my programm are way more columns and rows. ca 40 columns and up to 100 rows fore each parentcolumn.
is the xamdatagrid not fast enought to visualize this amount of data? Because it lasts up to 10 secods to display the gridlayouts.
please help me out.
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
or can i get the IsEnabled-Property from the cell with another way?