Is there a way to style the grid, using either XamGrid or XamDataGrid, to have the effect shown below?
Each of the objects I'd like to present with the grid, has a set of single properties, LabelA, LabelB and one I'd like to present using a XamDataChart or image. These 'single properties' should be displayed in the cells with a rowspan. Additionally, each of the objects has a couple of 'more detailed' properties, each of such values should be displayed in a cell with rowspan=1.
I have already been playing with XamGrid and its merging cells features. It works well for text data but not for charts, the chart in such a merged cell takes size of a single row, not spanning for all the merged rows (and I need it spanned to the whole height of a merged cell, as in the image above, to have it spanning 2 'single' rows height).
Hello Lukasz,
Thank you for your feedback. I have been looking into your post and it seems that it refers a different issue from the original one. Could you please create a new forum thread regarding your current issue and, if possible, attach a sample application that shows it. After that please add a new post in the current forum thread that refers the new one.
Thank you in advance.
Hello
Sorry for the delay, Piotr is on vacation and I'm his collegue working on the same project.
To precise: we are using xamGrid now (not xamDataGrid) and leveraging many features from it, one of them is cell merging.
We merge some cells, which are TextColumns - and it works fine.
But we also want to merge some cells that have XamSparkline chart inside.
The issue is that we cannot make XamSparkline control (or any other) to span and strech from top to bottom.
(as in the image: we can have Image1 and Image2, but we want to have one image - marked by red border).
After our investigation, it seems that XamGrid cell merging works in the following way: it just show the first row from merged cells and hides the rest.
If thats the case - is there a way we can achieve the goal ?
Hello,
I am just checking if you require any further assistance on the matter.
Thank you for your post. I have been looking into your question and I can suggest you look into the following link from our online documentation where it is shown how to determine logical rows in field’s cells span :
http://help.infragistics.com/Help/NetAdvantage/WPF/2013.1/CLR4.0/html/InfragisticsWPF4.DataPresenter.v13.1~Infragistics.Windows.DataPresenter.Field~RowSpan.html
Regarding your question about showing images in field of the XamDataGrid, you can look into the Elena’s suggestion using style for the CellValuePresenter :
http://es.infragistics.com/community/forums/t/57441.aspx
Let me know, if you need any further assistance on this matter.