Datagridview - Print

3 Answers 16 Views
GridView
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Radek asked on 18 Jul 2025, 01:53 PM

Hello,

I have a issue with print datagridview by a larger number of columns.

In first case (WratText = false) I cannot see all text (see image)

In the second case (WrapText = true) is row height too small and again I cannot see whole text.

Both case it has set AutoSizeRows = true;

In both cases I don't see the entire date

 Can you help me?

Thank you

3 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 23 Jul 2025, 07:43 AM

Hello Radek,

Thank you for contacting us.

I reviewed our backlog and found this Feedback Item, which closely matches the behavior reported here. The images in the feedback item show that the text is cut off at the end. However, the text in your pictures isn't very long. The likely cause is having too many columns. Can you tell me how many columns you're trying to print? Could you also try the workaround suggested in the comments section by increasing the column width with the text cut off to see if it makes any difference, as mentioned in the Feedback Item comments?

If that doesn't help, could you isolate your setup in a standalone project and share it with me so I can closely investigate this behavior?

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Radek
Top achievements
Rank 2
Iron
Iron
Iron
answered on 23 Jul 2025, 08:07 AM

Hello,

table has about 37 columns, depends to customer which columns has visible.

Print is better, when I settings fit mode to None and data cell font to Sans Serif 6.75. (It means text in cells is whole or row height is OK in wrap cells)

I know that number of columns is too many, but I want to set correct row height (second picture) or correct columns width (first picture) in print for printed columns. 

With a larger number of columns, it would be best to be able to print on more leaves as in Excel

Regards

Radek

 

 

Dinko | Tech Support Engineer
Telerik team
commented on 23 Jul 2025, 01:16 PM

Indeed, printing 37 columns will be a hard way to fit all the content. You could consider splitting the columns on different pages (I am assuming that you mean in the end of your post). For this purpose, please check the Multi-page printing section.
0
Radek
Top achievements
Rank 2
Iron
Iron
Iron
answered on 24 Jul 2025, 05:51 PM

Hello,

thank you, finally I use splitting the columns.

Regards

Radek

Tags
GridView
Asked by
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or