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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

The cell with "Button" cell type is not full filled

Thread ID:





124997 Jul 13,2016 09:59 AM UTC Jul 18,2016 04:41 AM UTC WPF 3
Tags: GridControl
Nick Tang
Asked On July 13, 2016 09:59 AM UTC

Set a cell with "Button" cell type, I noticed that the button didn't full fill the cell, there is a little blank space between the button border and cell border, like setting the margin property. The blank space will disappear after the mouse hovering on the cell, see following screenshot, the first "Book Ticket" cell with "Button" cell type is full filled with button after mouse hovering on it.

                                                    Hover mouse on this cell

I uploaded the sample for you. Thanks!

Attachment: Basic_Cell_Type_961ad726.zip

Kanimozhi Bharathi [Syncfusion]
Replied On July 14, 2016 05:51 PM UTC

Hi Nick Tang, 

Thank you for contacting Syncfusion Support. 

We were able to reproduce the issue and you can overcome this issue by creating CustomButtonCellRenderer class which is inherited from the GridCellButtonRenderer class and override the base class methods. Add this custom cell type for button cells. Please  find the sample link for your reference. 

Kanimozhi B 

Nick Tang
Replied On July 15, 2016 06:06 AM UTC

Thank you, it works well.

Kanimozhi Bharathi [Syncfusion]
Replied On July 18, 2016 04:41 AM UTC

Hi Nick Tang, 
Thank you for your update. 
Kanimozhi B 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon