forlano Messages: 1185 Registered: March 2006 Location: Italy
Senior Contributor
Hello,
I tried to find without success some method to export the whole content of an ArrayCtrl/GridCtrl to a qtf table. Does really is it absent some smart way? I can't believe
I tried to find without success some method to export the whole content of an ArrayCtrl/GridCtrl to a qtf table. Does really is it absent some smart way? I can't believe
Luigi
It is missing because while there is a nice logical way how to do that, results usually are not very good...
In any case, the code is trivial. Well, maybe we could have it in ArrayCtrl after all. Add to RM, nice easy task...
forlano Messages: 1185 Registered: March 2006 Location: Italy
Senior Contributor
mirek wrote on Tue, 27 September 2011 18:29
forlano wrote on Sun, 25 September 2011 16:05
Hello,
I tried to find without success some method to export the whole content of an ArrayCtrl/GridCtrl to a qtf table. Does really is it absent some smart way? I can't believe
Luigi
It is missing because while there is a nice logical way how to do that, results usually are not very good...
In any case, the code is trivial. Well, maybe we could have it in ArrayCtrl after all. Add to RM, nice easy task...
Mirek
I can imagine that the final qtf maybe not the best when the column are a lot and the horizontal space is not in sync with the character size.
I had always problem to find the right font size to let the table fit the A4 page. Finally I decided to save in qtf only the first N column to have an acceptable quality. As usual my users found very important the hided columns
I would be not warried if an eventual
array.ExportQtf(filename);
will not work at all in all cases.
Perhaps some minimum tuning would be nice, I mean the possibility to choose the font size to let the user try different view before to print.