Please find the attached image for what i have.. i want to delete net and gross for any given field Eg:- <2years.
How can i Find all the fileds under any upper row field.
And even I want to find all the cell values or cells in given field.
Please Reply me as soon as possible. I am in bit hurry.
Thanks
Hi,
I don’t know if you’ve had an opportunity to review my sample.
Please let me know if there is anything further that I can help you with regarding this question?
I am going to pass you a sample that assigns Column and Row position to define the layout of the xamDataGrid. From your image that appears to be what your application is doing.
And the sample locates the parent header and then based on the row, column and columnspan values of the parent, it locates the underlying fields when the button is clicked.
Please let me know if this approach is helpful to you. Or if you could modify the sample and provide me with more details about what you need to do with the underlying cells, I could be more helpful.
Please let me know if you have any questions.
Man.. Thanks for suggestion. But I cannot change UI at all from image I sent u. And this grd is dynamic. Meaing I dont know how many Fileds will be under any other field. And i already have code in place for this. But it goes on complecated and complecated to find the parent fields or child fields.
More importtanly I would wish to know the
1 . All fields under any field or all fields above any fields,..
2. all Cell under given field.
Hi
Looking at your image, it doesn’t appear that you are using summaries or grouping so I will assume that you your underlying data detail contains Net and Gross values. And it also looks like your view model contains total net and total gross fields that are valued based on all items.
I would think the most efficient way to achieve total net and gross for items with Maturity < 5 years or items with Maturity between 5 and 10 years would be to also have separate fields in your view model where you can hold the accumulated item values. And you would use the maturity setter to add to the accumulated values.
Please let me know if you have further questions.