-
Reference Cells of DataGrid
Hi,
I've made a class that fills a dataGrid with the data from any given CSV file automaticly.
What i'd like to do now is resize the width of each column based on the content. So i'd like to go through each cell and use textLineMetrics to work out the biggest cells width in pixels. But i don't know how to speak to the cells from within my class.
Alternatively if you know of another way to adjust the width of columns so it fits the content nicely, I'm all ears?
Danny
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|