Hi,
I am showing some summary information in a XamDataGrid say for column "xyz". By default, the summary information is coming under the column xyz. However, I want to show the summary so that it spans into multiple columns.
I tried setting the position to center, but it moves to center of the grid.
I want to have the information under the same column and it should span to multiple columns so that the information in the summary should be visible irrespective of the column widths.
Could anyone please help on this?
Thanks in advance.
Ganesh
Hello Ganesh,
If I am understanding you correctly, you want to span information of a field across multiple fields in the grid. You can change the column and row definitions. To specifically have a field span more than one field you set the FieldLayouts AutoArrangeCells to 'Never' and AutoGenerateFields to 'False'. Then you would set the ColumnSpan property on the particular field that you want to span multiple fields. Please see this documentation for more information.
Hi Aaron,
I want summary fields(fields positioned between the Column headers and actual data) to be spanned across columns. Currently in my screen, the summary field is shown just below the column for which I defined. But it depends on the column's width. ie if width reduces, the summary information also will reduce. I want to avoid this.
Otherwise, if the below is possible, it should also be fine.
Summary field will be like <summary caption> = <value>
If the summary caption is displayed under the first column and value is displayed under the defined column, it also will be fine.
To summarise, the summary captions should be left aligned and summary values should be right aligned. Is this possible? Please let me know.Thanks
Hello,
I believe to have built-in functionality for this, it would be a feature request. You can submit feature requests here: http://devcenter.infragistics.com/Protected/RequestFeature.aspx
Thank you.
I also want to use the described functionality:
to span the summary-column of the xamdatagrid over multiple fields, because the field-width is smaller than the summary-description.
Do you have a solution?
Thanks in advance
voks
I'm having a similiar scenario wiht the SummaryDefinition in where the column it is under has width set to Auto so that column is autosizing to the data in that column. However, it is not taking into consideration the data that is in the SummaryDefinition. So what is happening is the Summary data is being cut off because the column sizing isn't big enough. Is there a way to size the summary defintion to be the same size as the column it is under. If not I would think this is a bug and not an enhancement.
If you set the XamDataGrid's FieldSettings' Width Property to Auto the cells will be resized automatically based on the length of the Labels, Sumarries, DataCells, FilterCells. You can also specify only one element for a base by setting the FieldSettings' AutoSizeOptions Property.
Hope this helps you.