开发者

Xceed WPF Datagrid Printing fixed column on every page

开发者 https://www.devze.com 2022-12-16 09:14 出处:网络
I have a grid with one fixed column and many other columns. When i do a print开发者_如何学Go (datagrid.Print()) on the second page i have the columns that would not fit onto the first page but without

I have a grid with one fixed column and many other columns. When i do a print开发者_如何学Go (datagrid.Print()) on the second page i have the columns that would not fit onto the first page but without the fixed column (which is only printed on the first). I would like to repeat the fixed column on every page i print as it is the key to the data. Is this possible?


In your PrintTableView you can set the FixedColumnCount. e.g

            <xcdg:DataGridControl.PrintView>
            <xcdg:PrintTableView
                          IsAlternatingRowStyleEnabled="True"
                          FixedColumnCount="1" >...
0

精彩评论

暂无评论...
验证码 换一张
取 消