Hi
How could i make the header multi line?
waiting for response from infragistics team
Hi , Maraianne ,
i have 3 questions regarding xamdatagrid and its column headers.
i ) i have to write generalized function to parse all xamdatagrids designed in different layouts to export it on csv file format, now i am facing problems with grids which have multiline headers or some extra bind field in view . what actually i am looking for is the property / object of xamdatagrid which create its visual layout.usually i am getting two layouts and for accessing fields i have to hard code the index of any of two.How ever , some additonal fields are rendering some times at index 0 and sometime at 1 which causing incorrect depiction of xamdatagrid in csv file.plz help to figure out the collection which is reponsible for visual rendering of grid
ii ) when i applied field chooser to my grid , it renders all properties of source object collection in its chekboxes list which are not desired to be viewed,how can i render only thos proerties in field chooser which are being rendered in xamdatagrid
iii ) field chooser reder a checkbox field for th column which doent entited with any titl/name.Actually i have palced tht column for notification image for in front of every record bt i dont want it this column to appear in field chooser
Looking forward and thank you in advance !
Hi,
This link explains how to define Header Column layout.
http://help.infragistics.com/NetAdvantage/WPF/2012.1/CLR4.0/?page=xamDataGrid_Changing_the_Default_Column_and_Row_Definitions.html
In this link Krasimir has a sample where he defines a LabelPresenterStyle and ContentTemplate in code in order to modify the layout of the Header column.
http://es.infragistics.com/community/forums/t/70728.aspx
You can do the same by creating a LabelPresenter style in xaml, adding a ContentTemplate with your requirements.
There would certainly be other options if I knew more about what you were trying to accomplish.
If you can me more specific I will try to give you other suggestions.