Is there a simple way to print the contents of a xamdatagrid, or any sample applications demonstrating this ? Or this something I'll need to code by hand ?
Thanks,
Andy.
I too need to be able to print from the grid. I saw in another thread that IG is giving some thought to this. In the mean time...
I've taken a shot at writing my own by using a DocumentPaginator that looks at a grid for its content and layout. Mostly works, but it gets hinky when its time to get the formatted cell data. I didn't try to produce a completely generalized routine, so I'm willing to make several formatting assumptions. For instance, I expect cells to contain things like strings and numbers and not images and UIElements and such.
Here's the $64 question: Are there any helpers available that might help me obtain the formatted cell contents? I've looked around at Cell, Field, FieldSettings, etc. that are all local to that point in the logic, but nothing really provides me with what I was hoping for. It appears to be internalized and not publically available.
Thanks in advance for the help.
Dave