Hi,
Normal 0 21 false false false DE-CH X-NONE X-NONE MicrosoftInternetExplorer4
I‘m trying to achive a layout of the xamDataGrid like in the attached screenshot. Is this possible?
Hello Jafar,
You can set the Field's Row and Column in code behind in the same way Petar did in XAML.
hi,
iam also looking for these kind of soution,in this case we statically defined columns in xaml.can we do this while binding dynamically???
thanks...
Excuse me for the late reply, I have been looking into your requirement, however the XamDataGrid does not support that. I can suggest you try out the XamGrid which was imported to WPF from our Silverlight package and which has the functionality you need under GroupColumns:
http://samples.infragistics.com/sllob/RunSamples.aspx?cn=grid#/grid/group-columns
Hope this helps.
Hi Petar,
I need similar solution, but when I use your code, I see every data item in "two rows", is there any way to see the actual data items in "one row", and headers in multiple rows.
Hi Dunken,
I finally saw what you mean. There is no built-in functionality for that, and the only thing I could think of is creating a style for the CellValuePresenter class which will be applied to the Cells that need to be moved/aligned. I have created a sample project to illustrate the approach (Grid_SuperHeader.zip).
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support