Hi
We would like to introduce the concept of workspaces in our application. A workspace consists of an OutlookBar (navigation), XamDataGrid (search) and content. For the implemention i can either:
1) Create new instances of OutlookBar and XamDataGrid or
2) Create 1 instance each of OutlookBar and XamDataGrid. Save / reload the data when switching workspace.
Am i right to assume that variant 2 is more performant than 1? If so can you suggest a loading and saving procedure?
Note: the content has been already taken care of and no need to be considered.
Hello,
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
Save and load customizations for the XamDataGrid will include the following information about the fields:
· Group-By Settings
· Sort Direction
· Field Position
· Field Width
About the loaded data and the selected data record you can apply your own logic for such functionality.
Infragistics
Thanks for the response.
But how about the loaded data, the select datarow, the filters and sortings, can i save this too?
I have been looking into your issue and it seems that the second approach that you described in your post might give to your application better performance. About the data loading and saving you can implement your own functionality for those procedures. In order to load and save the layout of the XamDataGrid you can use its SaveCustomizations and LoadCustomizations methods. You can find more information about this functionality here: http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamDataPresenter_Save_Field_Customizations.html and here: http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamDataPresenter_Load_Field_Customizations.html .