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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

124997 Jul 13,2016 05:59 AM Jul 18,2016 12:41 AM WPF 3
loading
Tags: GridControl
Nick Tang
Asked On July 13, 2016 05:59 AM

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 01:51 PM

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. 


Regards 
Kanimozhi B 


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

Thank you, it works well.

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

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


CONFIRMATION

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.

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.

;