1

I want to export my tree table view content to .png file. But when I use snapshot but the snapshot is only grabbing the tableview that is visible on the screen. I search all form about this problem but does not find any solution. Can any suggestion. how can export all content of table to png(also pdf or xls file)

Snapshot entire TableView does not help me

Community
  • 1
  • 1
sancho
  • 598
  • 2
  • 8
  • 22
  • The [solution you linked](http://stackoverflow.com/questions/27595096/snapshot-entire-tableview) looks like a reasonable workaround. Why does that not work for you? – James_D Dec 12 '15 at 22:32
  • Because i use tree table i have 5 children under root and each of them have own children can be more than 10. Also my table has nested column. Snapsbot takes only visible part. – sancho Dec 13 '15 at 03:46
  • So it's more complicated, but I think the basic idea in that example (represent the same data in a different layout, and snapshot it) is the right way to go. – James_D Dec 13 '15 at 04:07
  • I think the problem is snapshot takes only visible part. If we have large entire it is not possible all entire in a page. The simple way i thought scroll down table view programmatically and take snapshot each time – sancho Dec 13 '15 at 04:14
  • But if you construct a new layout, which doesn't include automatic scrolling, the "visible part" contains everything. It's not the snapshot that's truncating it, it's the `TableView`. – James_D Dec 13 '15 at 04:15
  • Ok think that you have more than 100 data so which layout shows all data without scrolling – sancho Dec 13 '15 at 04:18
  • No layouts have automatics scrolling. Only certain controls (`ListView`, `TableView`, `TreeView`, etc, and `TextArea`) do. – James_D Dec 13 '15 at 04:19

0 Answers0