We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Add a shape to the contents of a cell

I do so struggle with putting most things into a cell in a grid.

Is it possible to draw something (like drawpie or draw arc) an put the results into a tables cell ?

I've tried creating templates and adding the drawing elements to it, but then cannot seem to add the template to a grid cell.

am i missing something obvious here ? 

I can put text, background images, even tables into a cell so hopefully putting other items in there should be straight forward.

Regards
Martin

3 Replies

SL Sowmiya Loganathan Syncfusion Team October 16, 2019 01:22 PM UTC


Hi Martin, 

Thank you for contacting Syncfusion support.  

We have created the sample to draw shapes (like Pie, Arc) in PdfGrid cell of PDF document.  Please find the sample for the same from below, 


Please try the above sample in your end and let us know whether it satisfies your requirement.  

Regards, 
Sowmiya Loganathan 



MA Martin October 17, 2019 03:38 PM UTC

Many thanks, did the trick although a bit messy.


SL Sowmiya Loganathan Syncfusion Team October 18, 2019 06:06 AM UTC

Hi Martin, 

Thank you for the update. We glad to know that your requirement is achieved. 

Regards, 
Sowmiya Loganathan 


Loader.
Live Chat Icon For mobile
Up arrow icon