XamDataGrid is very powerful. As we know, we can set row headers in the XamDataGrid with the orientation property of ViewSettings to vertical, or turn over it. By setting the orientation to horizontal, the table can have column headers. The exciting functionality of it is headers are fixed on sliding the vertical/horizontal scroll bar. It's powerful. And here's my question:
Is there any way to set a XamDataGrid with headers both in row and column, like an excel sheet? That is, when slide vertical/horizontal scroll bar, headers will be fixed.
Thanks.
BTW: a workaround way is set the background color of first column different with other column to indicate it as an column header. But that column couldn't be fixed on sliding vertical scroll bar.
Hello,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and I created a sample project for you with the functionality you want.
Feel free to write me if you have further questions.
Hi Stefan
Could you post an example with both row and column header? I believe a lot of people are gonna love this!
Thank youi
Hongfei
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Great thanks,
it works now. The vertical line disappears. That's really what i want.
I have been looking into you requirement and I suggest you set the XamDataGrid’s FieldLayout’s Settings’ FixedFieldUIType to “None” in order to have the look you want. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.