Hi,
I am been looking for most approriate way to handle grouping with paging / data visualization. I haven't found a soluiton of this. I'll be grateful for your input.
BTW: my company is customer of infragistics for many year, will apprecite timely response ;).
Thanks,
Imad.
Hello Imad,
Did you manage to prepare a sample, so I can investigate this further for you?
Thanks Stefan for getting back.
I got busy with tasks at work. I will send you a sample app to show you my problem and what I need to acheive.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
I have been looking into your requirement, but still it seems like I am missing something in your scenario, so if this is still an issue, could you please send me an isolated sample project with the structure of your data and be more specific with the results you expect, so I can investigate this further for you.
Looking forward for your reply.
Thanks Stefan for your help.
I have thinking that instead of having a converter to convert each item (which is ditionary), I should bind my my collection (which is observable collection of dcitionary items).
There is a post from Dr. WPF on working with Observable dictionary which I can use as a help for binding my observable collection of dcitionary items to XamDataGrid.
http://drwpf.com/blog/2007/09/16/can-i-bind-my-itemscontrol-to-a-dictionary/
But the problem is that I am formating columns in FieldLayoutInitialized event based on the converted collection of my lite objects. If I bind observable collection of dcitionary items to XamDataGrid how could I still formate my columns in FieldLayoutInitialized event or otherwise if I formate my columns in XAML, how could I do that.
Here is how I am formating my columns in FieldLayoutInitialized. I check the type of e.FieldLayout.Key (which is my converted lite object). Here is the code for that.
Thanks for your help.
<Code>
if ((System.Type)e.FieldLayout.Key == typeof(MyLiteObject))
{
_dataTranslator.ObjectType =
typeof(MyLiteObject);
FieldLayout layout = e.FieldLayout;
foreach (Field f in layout.Fields)
f.DataType =
typeof(string);
f.Settings.AllowEdit =
false;
switch (f.Name)
case "FirstPropertyName":
....
case "SecondPropertyName":
.....
}
</Code>